jburel / ansible-role-hosts-populate

Populates /etc/hosts with static addresses for a list of hostgroups

Home Page:https://galaxy.ansible.com/ome/hosts_populate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hosts Populate

Actions Status Ansible Role

Populates /etc/hosts with static addresses for a list of hostgroups.

Role Variables

Optional variables:

  • hosts_populate_iface: Lookup the host IP using this network interface, default eth0
  • hosts_populate_openstack_groups: List of openstack groups, hosts from these groups will be included in /etc/hosts. In practice this will probably work with non-openstack groups too.
  • hosts_populate_regex_alias: Include a host alias, defined by the first (group) in this regex.

Warning: This role requires full control of /etc/hosts.

Author Information

ome-devel@lists.openmicroscopy.org.uk

About

Populates /etc/hosts with static addresses for a list of hostgroups

https://galaxy.ansible.com/ome/hosts_populate/

License:BSD 2-Clause "Simplified" License


Languages

Language:Jinja 71.5%Language:Python 28.5%