Packer.Images/ansible/roles/firstboot/files/ansible_payload/roles/metacluster/tasks/init.yml

14 lines
326 B
YAML
Raw Normal View History

- 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
- ca
- git
- gitops
- ingress
- registry
- storage