From 81af10becc2f7157ef4ea2d893564d8bdb43aced Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Fri, 10 Nov 2017 19:27:30 -0700 Subject: [PATCH] Replace cp shell with rsync --- tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 85d7180..9f1f53d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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