mirror of
https://github.com/shouptech/ansible-role-nextcloud.git
synced 2026-02-03 15:09:42 +00:00
Replace cp shell with rsync
This commit is contained in:
parent
25bf66a52a
commit
81af10becc
1 changed files with 2 additions and 1 deletions
|
|
@ -38,6 +38,7 @@
|
||||||
- php71u-pecl-redis
|
- php71u-pecl-redis
|
||||||
- php71u-pecl-apcu
|
- php71u-pecl-apcu
|
||||||
- php71u-pecl-imagick
|
- php71u-pecl-imagick
|
||||||
|
- rsync
|
||||||
|
|
||||||
- name: check nextcloud installed
|
- name: check nextcloud installed
|
||||||
stat:
|
stat:
|
||||||
|
|
@ -52,7 +53,7 @@
|
||||||
when: nextcloud_occ.stat.exists == False
|
when: nextcloud_occ.stat.exists == False
|
||||||
|
|
||||||
- name: copy nextcloud files
|
- 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
|
when: nextcloud_occ.stat.exists == False
|
||||||
|
|
||||||
#- name: set nextcloud file permissions
|
#- name: set nextcloud file permissions
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue