An ansible role to manage /etc/hosts.
No specific requirements
None of the variables below are required.
Variable | Default | Comments |
---|---|---|
etc_hosts |
[] | A dictionary of host name / ip addresses. |
etc_hosts:
server_name: 192.168.0.1
another_server: 192.168.0.2
No dependencies.
See the test playbook
MIT, see License