Ensure hosts entry for loopback address

This commit is contained in:
Salt 2020-11-08 06:33:59 -06:00
parent 9ee8068785
commit 3f93c4c2d6

View File

@ -2,6 +2,8 @@
# vim:ft=ansible:
- name: configure hostname
hostname: name={{ inventory_hostname }}
- name: ensure loopback name
lineinfile: path=/etc/hosts line="127.0.0.1 {{ inventory_hostname }}"
- name: configure timezone
timezone: name=America/Chicago
notify: restart cron