Remove legacy vhosts.conf file
This commit is contained in:
parent
9cf49ac6c2
commit
0d931c53c3
|
@ -31,3 +31,9 @@
|
|||
when: item.state|default('present') == 'absent'
|
||||
with_items: "{{ nginx_vhosts }}"
|
||||
notify: reload nginx
|
||||
|
||||
- name: Remove legacy vhosts.conf file.
|
||||
file:
|
||||
path: "{{ nginx_vhost_path }}/vhosts.conf"
|
||||
state: absent
|
||||
notify: reload nginx
|
||||
|
|
Loading…
Reference in New Issue