Ensure hosts entry for loopback address
This commit is contained in:
parent
9ee8068785
commit
3f93c4c2d6
@ -2,6 +2,8 @@
|
|||||||
# vim:ft=ansible:
|
# vim:ft=ansible:
|
||||||
- name: configure hostname
|
- name: configure hostname
|
||||||
hostname: name={{ inventory_hostname }}
|
hostname: name={{ inventory_hostname }}
|
||||||
|
- name: ensure loopback name
|
||||||
|
lineinfile: path=/etc/hosts 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
|
||||||
|
Loading…
Reference in New Issue
Block a user