add extra attributes

This commit is contained in:
abrown38 committed 2024-12-10 15:12:30 +00:00
1 parent afc4f48e83
commit 57e99b8fc0
1 file changed
+3
+3
View File
@@ -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"