For consistency, add host should take a key named 'name' in addition to 'hostname'.

reviewable/pr18780/r1
Michael DeHaan 13 years ago
parent e4359bf3cc
commit d3cd8f2952

@ -9,9 +9,9 @@ description:
Takes variables so you can define the new hosts more fully. Takes variables so you can define the new hosts more fully.
version_added: 0.9 version_added: 0.9
options: options:
hostname: name:
description: 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 required: true
groups: groups:
aliases: [ 'groupname' ] aliases: [ 'groupname' ]

Loading…
Cancel
Save