Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

soplakanets/ansible-role-hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Ths ansible role adds records to /etc/hosts

Resources

License

Stars

Watchers

Forks

Packages

No packages published