1
0
Fork 0
mirror of https://github.com/shouptech/ansible-role-nextcloud.git synced 2026-02-03 06:59:42 +00:00

Replace cp shell with rsync

This commit is contained in:
Mike Shoup 2017-11-10 19:27:30 -07:00
parent 25bf66a52a
commit 81af10becc

View file

@ -38,6 +38,7 @@
- php71u-pecl-redis
- php71u-pecl-apcu
- php71u-pecl-imagick
- rsync
- name: check nextcloud installed
stat:
@ -52,7 +53,7 @@
when: nextcloud_occ.stat.exists == False
- name: copy nextcloud files
shell: "cp -r {{ nextcloud_package_destination }}/nextcloud/* /var/www/html/"
shell: "rsync -a {{ nextcloud_package_destination }}/nextcloud/ /var/www/html/"
when: nextcloud_occ.stat.exists == False
#- name: set nextcloud file permissions