Remove localhost host entry
Yeah that's causing issues with DNS
This commit is contained in:
parent
57dd52f4dc
commit
23c9ec588c
@ -3,7 +3,7 @@
|
||||
- name: configure hostname
|
||||
ansible.builtin.hostname: name={{ inventory_hostname }}
|
||||
- name: ensure loopback name
|
||||
ansible.builtin.lineinfile: path=/etc/hosts line="127.0.0.1 {{ inventory_hostname }}"
|
||||
ansible.builtin.lineinfile: path=/etc/hosts state=absent line="127.0.0.1 {{ inventory_hostname }}"
|
||||
- name: configure timezone
|
||||
timezone: name=America/Chicago
|
||||
notify: restart cron
|
||||
|
Loading…
Reference in New Issue
Block a user