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

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

@ -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…
Cancel
Save