Add or remove entries in /etc/hosts using tasks: - host: ip=127.0.0.1 hostname=localhost aliases=foobar.com,localhost.foobar.com - host: ip=127.0.0.1 hostname=localhost state=present - host: ip=192.168.1.1 state=absent - host: hostname=localhost state=absent - host: ip=::1 hostname=localhost aliases=ip6-localhost,ip6-loopback
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
authorized_key | Loading commit data... | |
cron | Loading commit data... | |
facter | Loading commit data... | |
filesystem | Loading commit data... | |
group | Loading commit data... | |
host | Loading commit data... | |
lvg | Loading commit data... | |
lvol | Loading commit data... | |
mount | Loading commit data... | |
ohai | Loading commit data... | |
ping | Loading commit data... | |
seboolean | Loading commit data... | |
selinux | Loading commit data... | |
service | Loading commit data... | |
setup | Loading commit data... | |
sysctl | Loading commit data... | |
user | Loading commit data... | |
zfs | Loading commit data... |