From 9881fd632067363cc44e7d698f435b88d30319d1 Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Tue, 30 Jan 2024 13:26:25 +0000
Subject: [PATCH] add flush handlers

---
 .gitlab-ci.yml | 9 +++++----
 tasks/main.yml | 3 +++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 377ef2b..fc9a1bf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,7 @@ variables:
   ANSIBLE_FORCE_COLOR: "1"
   ANSIBLE_REMOTE_TMP: "/tmp"
   ANSIBLE_SHELL_ALLOW_WORLD_READABLE_TEMP: "1"
+  DEBIAN_FRONTEND: noninteractive
   DEFAULT_MANAGED_STR: "Ansible managed"
   MOLECULE_VERBOSITY: "0"
   PY_COLORS: "1"
@@ -33,24 +34,24 @@ stages:
   - jammy
   # - trixie
 bookworm:
-  image: registry.git.coop/webarch/containers/images/bookworm:20231213
+  image: registry.git.coop/webarch/containers/images/bookworm:20240105
   stage: bookworm
   script:
     - molecule test --all
 # The Bullseye test run OK but Molecule never completes
 # https://github.com/ansible/molecule/discussions/4020
 # bullseye:
-#   image: registry.git.coop/webarch/containers/images/bullseye:20231213
+#   image: registry.git.coop/webarch/containers/images/bullseye:20240105
 #   stage: bullseye
 #   script:
 #     - molecule test
 jammy:
-  image: registry.git.coop/webarch/containers/images/jammy:20231213
+  image: registry.git.coop/webarch/containers/images/jammy:20240105
   stage: jammy
   script:
     - molecule test
 # trixie:
-#   image: registry.git.coop/webarch/containers/images/trixie:20231213
+#   image: registry.git.coop/webarch/containers/images/trixie:20240105
 #   stage: trixie
 #   script:
 #     - molecule test
diff --git a/tasks/main.yml b/tasks/main.yml
index b414467..c8e4653 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -58,6 +58,9 @@
       tags:
         - docker_compose_v1
 
+    - name: Flush handlers
+      ansible.builtin.meta: flush_handlers
+
   when:
     - docker is defined
     - docker | bool
-- 
GitLab