From f7f653546ddafd5e433352745dc9e3993561d06f Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Sun, 10 Apr 2022 23:34:05 +0100
Subject: [PATCH] tweaks

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

diff --git a/tasks/local_facts.yml b/tasks/local_facts.yml
index 83d6cd8..76ace4b 100644
--- a/tasks/local_facts.yml
+++ b/tasks/local_facts.yml
@@ -24,10 +24,12 @@
         mode: 0700
         owner: root
         group: root
+      register: apache_a2query_facts
 
     - name: Re-read Ansible local facts
       ansible.builtin.setup:
         filter: ansible_local
+      when: apache_a2query_facts.changed
 
   tags:
     - quota
-- 
GitLab