equal
deleted
inserted
replaced
36 state: "link" |
36 state: "link" |
37 notify: reload nginx |
37 notify: reload nginx |
38 |
38 |
39 - name: copy root files |
39 - name: copy root files |
40 become: yes |
40 become: yes |
41 copy: src="{{nginx_root_src}}" dest="{{nginx_root_dest}}/" |
41 synchronize: src="{{nginx_root_src}}" dest="{{nginx_root_dest}}/" |
42 when: nginx_root |
42 when: nginx_root |
43 |
43 |
44 - name: enable nginx service |
44 - name: enable nginx service |
45 become: yes |
45 become: yes |
46 systemd: name="nginx.service" enabled="yes" state="started" daemon_reload="yes" |
46 systemd: name="nginx.service" enabled="yes" state="started" daemon_reload="yes" |