Add hosts element to Ansible doc

This commit is contained in:
Joshua Boniface 2019-08-07 12:50:03 -04:00
parent 0446b2db02
commit fac02f8520
1 changed files with 18 additions and 0 deletions

View File

@ -63,6 +63,10 @@ logrotate_interval: daily
username_email_root: root
hosts:
- name: testhost
ip: 127.0.0.1
admin_users:
- name: "myuser"
uid: 500
@ -150,6 +154,20 @@ The interval for rotating system logs. Must be one of: `hourly`, `daily`, `weekl
The email address of the root user, at the `local_domain`. Usually `root`, but can be something like `admin` if needed.
#### `hosts`
* *optional*
A list of additional entries for the `/etc/hosts` files on the nodes. Each list element contains the following subelements:
##### `name`
The hostname of the entry.
##### `ip`
The IP address of the entry.
#### `admin_users`
* *required*