Commit 988c77c4 by Saleem Latif

Switch to rsync command

parent eb41649c
...@@ -25,9 +25,7 @@ ...@@ -25,9 +25,7 @@
# while synchronizing we need to make sure that directory path ends with a trailing slash, # while synchronizing we need to make sure that directory path ends with a trailing slash,
# otherwise synchronize will copy the src dir instead of the files/dirs included in the src directory # otherwise synchronize will copy the src dir instead of the files/dirs included in the src directory
- name: synchronize theme directories - name: synchronize theme directories
synchronize: > command: rsync -a {{ THEMES_CODE_DIR }}/{{ ECOMMERCE_THEMES_DIR_NAME }}/ {{ ECOMMERCE_COMPREHENSIVE_THEME_DIR }}/
src={{ THEMES_CODE_DIR }}/{{ ECOMMERCE_THEMES_DIR_NAME }}/
dest= {{ ECOMMERCE_COMPREHENSIVE_THEME_DIR }}/
sudo_user: "{{ ecommerce_user }}" sudo_user: "{{ ecommerce_user }}"
when: ECOMMERCE_ENABLE_COMPREHENSIVE_THEMING and THEMES_CODE_DIR is defined when: ECOMMERCE_ENABLE_COMPREHENSIVE_THEMING and THEMES_CODE_DIR is defined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment