soplakanets.hosts

hosts

This Ansible role adds host records to /etc/hosts, including host aliases (optional).

Role Variables

save_hosts: [] # hosts to save

Example configuration

save_hosts:
- name: example.net
  ip:   8.8.8.8
- name: example.com
  ip:   8.8.4.4
  aliases:
  - dns
  - googledns

License

Public Domain

Author Information

Serhiy Oplakanets serhiy@oplakanets.com

About

Save hosts to /etc/hosts

Install
ansible-galaxy install soplakanets.hosts
GitHub repository
License
unlicense
Downloads
565
Owner
CTO at Rebbix, Co-founder at Rove.me