From ee4e33b1419e3af81023e9ae17d0726b79c6c90f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 28 Jul 2019 21:59:16 +0300 Subject: [PATCH] Fix(add-apache-vhost): Remove wrong conditions --- playbooks/debian/roles/add-apache-vhost/tasks/add-vhost.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/playbooks/debian/roles/add-apache-vhost/tasks/add-vhost.yml b/playbooks/debian/roles/add-apache-vhost/tasks/add-vhost.yml index 145982d..d01472c 100644 --- a/playbooks/debian/roles/add-apache-vhost/tasks/add-vhost.yml +++ b/playbooks/debian/roles/add-apache-vhost/tasks/add-vhost.yml @@ -7,14 +7,11 @@ group: root mode: '0640' force: no - notify: Reload apache - when: vhost.rc != 0 - name: Enable site become: true command: "a2ensite {{ virtual_host }}" notify: Reload apache - when: vhost.rc != 0 - name: Create directories become: true @@ -27,4 +24,3 @@ loop: ['/usr/local/apache2/cgi-bin', '/usr/local/apache2/htdocs', '/var/log/apache2', ] - when: vhost.rc != 0 -- 2.39.5