WebService : add option to omit dir time on rsync

This commit is contained in:
Michael RICOIS 2016-02-11 15:25:43 +01:00
parent 4e343c3d8e
commit f2765e7403
2 changed files with 2 additions and 6 deletions

View File

@ -17,7 +17,7 @@
ansistrano_deploy_via: rsync
ansistrano_allow_anonymous_stats: yes
# Variables used in the rsync deployment strategy
ansistrano_rsync_extra_params: ""
ansistrano_rsync_extra_params: "--omit-dir-times"
ansistrano_rsync_set_remote_user: yes
# Variables used in the Git deployment strategy
#ansistrano_git_repo: ssh://git@192.168.78.249:10022/SCORES/flux.git

View File

@ -1,7 +1,3 @@
- name: Authorize deploy user to write in "ansistrano_deploy_to"
become: yes
file: path="{{ ansistrano_deploy_to }}" state=directory mode="u=rwx,g=rwx,o=rx"
- name: Authorize deploy user to write in "ansistrano_shared_path.stdout"
become: yes
file: path="{{ ansistrano_shared_path.stdout }}/.shared-copy" state=directory owner=deploy mode="u=rwx,g=rwx,o=rx"
file: path="{{ ansistrano_deploy_to }}" state=directory mode="u=rwx,g=rwx,o=rx"