Skip to content

Commit

Permalink
Updating README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuffman committed Jun 30, 2016
1 parent 663e630 commit e2cf9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An Ansible role to set a host's hostname and manage it's aliases along with addi

## Role Variables

You should override this spec at the host_vars level. These settings apply to a specific host, and the hostname will be set with the Ansible hostname module based on the hosts_hostname.hostname variable. /etc/hosts will update the loopback IPv4 and IPv6 entries with the appropriate hostname and FQDN from this spec. Additional IPs can be added with `add_ip` and will add the aliases specified under `hosts_hostname.alias` to those host entries. If you don't want all the same alias you would have to use the hosts_host spec below to achieve that rather than hosts_hostname.
You should override this spec at the host_vars level. These settings apply to a specific host, and the hostname will be set with the Ansible hostname module based on the hosts_hostname.hostname variable. /etc/hosts will update the loopback IPv4 and IPv6 entries with the appropriate hostname and FQDN from this spec. Additional IPs can be added with `add_ip` and will add the aliases specified under `hosts_hostname.alias` to those additional host entries. If you don't want the same aliases applied to the additional IPs, you would have to use the hosts_host spec below to achieve that rather than hosts_hostname.

`hosts_hostname`:
`hostname`: ''
Expand Down

0 comments on commit e2cf9bd

Please sign in to comment.