Add hosts element to Ansible doc
This commit is contained in:
parent
0446b2db02
commit
fac02f8520
|
@ -63,6 +63,10 @@ logrotate_interval: daily
|
||||||
|
|
||||||
username_email_root: root
|
username_email_root: root
|
||||||
|
|
||||||
|
hosts:
|
||||||
|
- name: testhost
|
||||||
|
ip: 127.0.0.1
|
||||||
|
|
||||||
admin_users:
|
admin_users:
|
||||||
- name: "myuser"
|
- name: "myuser"
|
||||||
uid: 500
|
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.
|
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`
|
#### `admin_users`
|
||||||
|
|
||||||
* *required*
|
* *required*
|
||||||
|
|
Loading…
Reference in New Issue