From 6a78029da53cfaed7da30cfc54d5a02ff8975247 Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Tue, 22 Oct 2024 16:07:56 +0100
Subject: [PATCH] molecule update

---
 .gitlab-ci.yml                | 1 +
 molecule/default/molecule.yml | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 79bc605..13f7815 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,7 @@
 # You should have received a copy of the GNU General Public License along with the Webarchitects Apache Ansible role. If not, see <https://www.gnu.org/licenses/>.
 ---
 variables:
+  ANSIBLE_ANY_ERRORS_FATAL: "1"
   ANSIBLE_CALLBACK_RESULT_FORMAT: "yaml"
   ANSIBLE_DEFAULT_VERBOSITY: "1"
   ANSIBLE_DIFF_ALWAYS: "1"
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
index 5b17fe9..777ae28 100644
--- a/molecule/default/molecule.yml
+++ b/molecule/default/molecule.yml
@@ -14,6 +14,12 @@ platforms:
   - name: instance
 provisioner:
   name: ansible
+  config_options:
+    defaults:
+      ansible_managed: Ansible managed
+      duplicate_dict_key: error
+      error_on_undefined_vars: true
+      inject_facts_as_vars: false
   options:
     D: true
 verifier:
-- 
GitLab