# Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl # b.) change or remove the value of 'manage_etc_hosts' in # /etc/cloud/cloud.cfg or cloud-config from user-data # 127.0.1.1 trainee-m trainee-m 127.0.0.1 localhost localhost.localdomain # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback localhost6 localhost6.localdomain ff02::1 ip6-allnodes ff02::2 ip6-allrouters # Ansible inventory hosts BEGIN 192.168.125.10 trainee-m.cluster.local trainee-m 192.168.125.11 trainee-n1.cluster.local trainee-n1 # Ansible inventory hosts END