mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 08:57:21 +00:00
add tags to proxy VM
This commit is contained in:
1 parent
b81d36bc9c
commit
09f28bfa46
1 file changed
+4
@@ -23,6 +23,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: "present"
|
||||
register: host_added
|
||||
notify: "activate changes"
|
||||
@@ -38,6 +40,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: "present"
|
||||
register: host_added
|
||||
notify: "activate changes"
|
||||
|
||||
Reference in new issue
Block a user