From 50d079e3044c81df2d0d1e98f6c63b45f03a3f5a Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Mon, 15 Jan 2024 22:53:16 +0000 Subject: [PATCH] add missing var to arg spec --- meta/argument_specs.yml | 5 +++++ tasks/main.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml index e7d6987..cd2c67f 100644 --- a/meta/argument_specs.yml +++ b/meta/argument_specs.yml @@ -102,6 +102,11 @@ argument_specs: type: str required: true description: Icinga master node fully qualified hostname. + icinga_master_nodes: + type: list + elements: str + required: true + description: A list of Icinga master nodes, there shoudl only be one. icinga_master_node_ipv4: type: str required: true diff --git a/tasks/main.yml b/tasks/main.yml index d8557d7..fba2934 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,6 +18,11 @@ - name: Icinga agent node group and debugging and checking block: + - name: Debug icinga_master_nodes + ansible.builtin.debug: + var: icinga_master_nodes + verbosity: "{% if ansible_check_mode | bool %}0{% else %}1{% endif %}" + - name: Include Icinga verify variables tasks ansible.builtin.include_tasks: verify.yml when: -- GitLab