Use rsync for nginx root copy.
authorLuke Hoersten <luke@hoersten.org>
Sat, 11 Feb 2023 10:49:06 -0600
changeset 209 81014d20e5b1
parent 208 88a7fee5effe
child 210 dcdb18c5dc21
Use rsync for nginx root copy.
nginx/tasks/main.yaml
--- a/nginx/tasks/main.yaml	Sun Feb 05 11:01:26 2023 -0600
+++ b/nginx/tasks/main.yaml	Sat Feb 11 10:49:06 2023 -0600
@@ -38,7 +38,7 @@
 
 - name: copy root files
   become: yes
-  copy: src="{{nginx_root_src}}" dest="{{nginx_root_dest}}/"
+  synchronize: src="{{nginx_root_src}}" dest="{{nginx_root_dest}}/"
   when: nginx_root
 
 - name: enable nginx service