equal
deleted
inserted
replaced
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 copy: src="{{nginx_root_src}}" dest="{{nginx_root_dest}}/" |
42 when: nginx_root |
42 when: nginx_root |
43 notify: reload nginx |
|
44 |
43 |
45 - name: enable nginx service |
44 - name: enable nginx service |
46 become: yes |
45 become: yes |
47 systemd: name="nginx.service" enabled="yes" state="started" daemon_reload="yes" |
46 systemd: name="nginx.service" enabled="yes" state="started" daemon_reload="yes" |