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

This commit is contained in:
Michael DeHaan 2013-02-17 20:45:37 -05:00
parent e4359bf3cc
commit d3cd8f2952

View file

@ -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' ]