From 85480cda2bbdfd179a98effa42489f5bd4176825 Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Mon, 18 Mar 2019 21:09:59 +0000
Subject: [PATCH] changed_when added

---
 tasks/webarch.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tasks/webarch.yml b/tasks/webarch.yml
index c8e5926..17268fa 100644
--- a/tasks/webarch.yml
+++ b/tasks/webarch.yml
@@ -9,6 +9,8 @@
 
 - name: Debian default site disabled
   command: a2dissite 000-default
+  register: apache_a2dissite_default
+  changed_when: '"already disabled" not in apache_a2dissite_default.stdout'
   tags:
     - apache
 
-- 
GitLab