From 0d931c53c31652eb277f76e37ad57ba40da44abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Sat, 22 Apr 2017 10:03:18 -0500 Subject: [PATCH] Remove legacy vhosts.conf file --- tasks/vhosts.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/vhosts.yml b/tasks/vhosts.yml index f89b8f2..8448503 100644 --- a/tasks/vhosts.yml +++ b/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