summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansibleworks.com>2013-10-11 16:36:48 -0400
committerMichael DeHaan <michael@ansibleworks.com>2013-10-11 16:37:10 -0400
commit04744ca70660c53b327ebb3392c95ce0709bb7cd (patch)
treee42bbf761b6c4feaf638911e8d9841db222ff78d /inventory
parent1cc0a8af6d827ebb3c67e5814844794b1dffcc3f (diff)
downloadansible-modules-core-04744ca70660c53b327ebb3392c95ce0709bb7cd.tar.gz
Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442.
Diffstat (limited to 'inventory')
-rw-r--r--inventory/add_host4
1 files changed, 2 insertions, 2 deletions
diff --git a/inventory/add_host b/inventory/add_host
index 75c60232..4fd4e1eb 100644
--- a/inventory/add_host
+++ b/inventory/add_host
@@ -10,12 +10,12 @@ description:
version_added: "0.9"
options:
name:
- aliases: [ 'hostname' ]
+ aliases: [ 'hostname', 'host' ]
description:
- The hostname/ip of the host to add to the inventory, can include a colon and a port number.
required: true
groups:
- aliases: [ 'groupname' ]
+ aliases: [ 'groupname', 'group' ]
description:
- The groups to add the hostname to, comma separated.
required: false