kbrebanov.hosts_file
hosts_file
Configures /etc/hosts file
Requirements
This role requires Ansible 1.9 or higher.
Role Variables
| Name | Default | Description |
|---|---|---|
| hosts_file_local_fqdn | "{{ ansible_fqdn }}" | Local FQDN |
| hosts_file_local_hostname | "{{ ansible_hostname }}" | Local hostname |
Dependencies
None
Example Playbook
Configure /etc/hosts file using default values
- hosts: all
roles:
- kbrebanov.hosts_file
License
BSD
Author Information
Kevin Brebanov
Install
ansible-galaxy install kbrebanov.hosts_fileLicense
bsd-2-clause
Downloads
92
Owner
Nothing to see here. Move along.
