nginx/tasks/main.yaml
changeset 209 81014d20e5b1
parent 175 5b2a3d2cce22
child 238 bdbc88cb5078
--- 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