From 57e99b8fc0da16316c95ab7fee8ddcc0ebccaac8 Mon Sep 17 00:00:00 2001 From: abrown38 Date: Tue, 10 Dec 2024 15:12:30 +0000 Subject: [PATCH] add extra attributes --- ansible/playbooks/checkmk.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/playbooks/checkmk.yml b/ansible/playbooks/checkmk.yml index 7d961e1..d7f9219 100644 --- a/ansible/playbooks/checkmk.yml +++ b/ansible/playbooks/checkmk.yml @@ -18,6 +18,7 @@ run_once: true delegate_to: "localhost" tags: + - checkmk_folder - checkmk_host - checkmk_all @@ -32,6 +33,8 @@ name: "{{ inventory_hostname }}" attributes: ipaddress: "{{ hostvars[inventory_hostname].ansible_host }}" + tag_Variant: "{{ hostvars[inventory_hostname].openstack.metadata.variant }}" + tag_project_zone: "{{ project_zone }}" state: "{{ state }}" delegate_to: "localhost" notify: "activate changes"