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

View File

@ -3,7 +3,7 @@
- name: configure hostname - name: configure hostname
ansible.builtin.hostname: name={{ inventory_hostname }} ansible.builtin.hostname: name={{ inventory_hostname }}
- name: ensure loopback name - 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 - name: configure timezone
timezone: name=America/Chicago timezone: name=America/Chicago
notify: restart cron notify: restart cron