[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role
[oom/offline-installer.git] / tools / cicdansible / hosts.yml
1 #Default inventory.
2 #This file should not be modified, instead modify group_vars.
3 #NOTE
4 #All kubernetes nodes including the first node are added to inventory dynamically.
5 #Instances group with children.
6 instances:
7   hosts:
8
9 #Installer instance.
10     installer:
11       #Do not modify.
12       ansible_host: "{{ installer_ip }}"
13
14 #Infra instance.
15     infra:
16       #Do not modify.
17       ansible_host: "{{ infra_ip }}"
18
19   children:
20     #Empty group for nodes, populated dynamically, do not modify please.
21     nodes:
22
23 #The group for resource host, only first entry is considered.
24 #This host contains onap installer packages including scripts.
25 resources:
26   hosts:
27     resource_host:
28       ansible_host: "{{ resource_host }}"