From 575e6c788bf7c56dc99ac65bc4f9941f4e4dbab4 Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Wed, 6 Sep 2023 21:39:15 +0100 Subject: [PATCH] CI test --- .gitlab-ci.yml | 2 +- meta/argument_specs.yml | 4 ++++ tasks/main.yml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24465bc..852af74 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ variables: ANSIBLE_FORCE_COLOR: "1" ANSIBLE_REMOTE_TMP: "/tmp" ANSIBLE_SHELL_ALLOW_WORLD_READABLE_TEMP: "1" - MOLECULE_VERBOSITY: "0" + MOLECULE_VERBOSITY: "3" PY_COLORS: "1" before_script: - whoami diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml index 3537d94..358c6eb 100644 --- a/meta/argument_specs.yml +++ b/meta/argument_specs.yml @@ -14,6 +14,10 @@ argument_specs: description: An Ansible role for installing and configurinag the Apache HTTP server. short_description: The main entry point for the Apache role. options: + apache: + type: bool + required: true + description: Run the tasks in this role. apache_a2query: type: str required: true diff --git a/tasks/main.yml b/tasks/main.yml index 4aad92f..86b1f15 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,7 +10,7 @@ --- - name: Apache role skipped ansible.builtin.debug: - msg: "The tasks in the Apache role are not being run since the apache variables is not true." + msg: "The tasks in the Apache role are not being run since the apache variable is not true." when: not apache | bool tags: - apache -- GitLab