Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442.

This commit is contained in:
Michael DeHaan
2013-10-11 16:36:48 -04:00
parent 9c9ec52b04
commit 41aaad69aa
3 changed files with 12 additions and 4 deletions

View File

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