Explorar o código

Remove legacy vhosts.conf file

Oskar Schöldström %!s(int64=8) %!d(string=hai) anos
pai
achega
0d931c53c3
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      tasks/vhosts.yml

+ 6 - 0
tasks/vhosts.yml

@@ -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