13 lines
317 B
YAML
13 lines
317 B
YAML
|
- name: Create component entries in /etc/hosts
|
||
|
ansible.builtin.lineinfile:
|
||
|
path: /etc/hosts
|
||
|
line: "{{ vapp['guestinfo.ipaddress'] }} {{ item + '.' + vapp['metacluster.fqdn'] }}"
|
||
|
state: present
|
||
|
loop:
|
||
|
# TODO: Make this list dynamic
|
||
|
- git
|
||
|
- gitops
|
||
|
- ingress
|
||
|
- registry
|
||
|
- storage
|