laggyluke.inventory-hosts

inventory-hosts

This Ansible role adds all hosts from Ansible inventory to target's /etc/hosts.

Role Variables

inventory_hosts:
  interface: eth0   # get IP address from this network interface
  localhosts: []    # extra list of localhost aliases to associate with '127.0.0.1'

License

BSD

Author Information

George Miroshnykov george.miroshnykov@gmail.com

About

Add all hosts from Ansible inventory to target's /etc/hosts

Install
ansible-galaxy install laggyluke.inventory-hosts
GitHub repository
License
Unknown
Downloads
90
Owner