For consistency, add host should take a key named 'name' in addition to 'hostname'.
This commit is contained in:
parent
e4359bf3cc
commit
d3cd8f2952
1 changed files with 2 additions and 2 deletions
4
add_host
4
add_host
|
@ -9,9 +9,9 @@ description:
|
|||
Takes variables so you can define the new hosts more fully.
|
||||
version_added: 0.9
|
||||
options:
|
||||
hostname:
|
||||
name:
|
||||
description:
|
||||
- The hostname/ip of the host to add to the inventory
|
||||
- The hostname/ip of the host to add to the inventory, can include a colon and a port number.
|
||||
required: true
|
||||
groups:
|
||||
aliases: [ 'groupname' ]
|
||||
|
|
Loading…
Reference in a new issue