Merge "Don't assume /etc/hosts exists"

This commit is contained in:
Zuul 2022-09-07 15:30:40 +00:00 committed by Gerrit Code Review
commit a7a1f9f236

View File

@ -4,6 +4,8 @@
dest: /etc/hosts
regexp: "^127.0.0.1.*"
line: "127.0.0.1 localhost"
create: true
mode: 0644
state: present
become: True
when: customize_etc_hosts | bool