Remove localhost host entry

Yeah that's causing issues with DNS
This commit is contained in:
Salt 2022-10-11 23:45:15 -05:00
parent 57dd52f4dc
commit 23c9ec588c
1 changed files with 1 additions and 1 deletions

View File

@ -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