mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-28 11:17:21 +00:00
add extra attributes
This commit is contained in:
1 parent
afc4f48e83
commit
57e99b8fc0
1 file changed
+3
@@ -18,6 +18,7 @@
|
|||||||
run_once: true
|
run_once: true
|
||||||
delegate_to: "localhost"
|
delegate_to: "localhost"
|
||||||
tags:
|
tags:
|
||||||
|
- checkmk_folder
|
||||||
- checkmk_host
|
- checkmk_host
|
||||||
- checkmk_all
|
- checkmk_all
|
||||||
|
|
||||||
@@ -32,6 +33,8 @@
|
|||||||
name: "{{ inventory_hostname }}"
|
name: "{{ inventory_hostname }}"
|
||||||
attributes:
|
attributes:
|
||||||
ipaddress: "{{ hostvars[inventory_hostname].ansible_host }}"
|
ipaddress: "{{ hostvars[inventory_hostname].ansible_host }}"
|
||||||
|
tag_Variant: "{{ hostvars[inventory_hostname].openstack.metadata.variant }}"
|
||||||
|
tag_project_zone: "{{ project_zone }}"
|
||||||
state: "{{ state }}"
|
state: "{{ state }}"
|
||||||
delegate_to: "localhost"
|
delegate_to: "localhost"
|
||||||
notify: "activate changes"
|
notify: "activate changes"
|
||||||
|
|||||||
Reference in new issue
Block a user