parent
222998839c
commit
0788b6c84f
|
@ -7,6 +7,12 @@
|
||||||
when: nginx_php | length > 0
|
when: nginx_php | length > 0
|
||||||
notify: reload nginx
|
notify: reload nginx
|
||||||
|
|
||||||
|
- name: FILE | Delete PHP upstream
|
||||||
|
file:
|
||||||
|
path: "{{ nginx_etc_dir }}/conf.d/php.conf"
|
||||||
|
state: absent
|
||||||
|
when: nginx_php | length == 0
|
||||||
|
|
||||||
- name: TEMPLATE | Deploy other upstreams
|
- name: TEMPLATE | Deploy other upstreams
|
||||||
template:
|
template:
|
||||||
src: "etc/nginx/conf.d/_upstream.conf.j2"
|
src: "etc/nginx/conf.d/_upstream.conf.j2"
|
||||||
|
|
Loading…
Reference in New Issue