diff options
author | giovannisciortino <30353557+giovannisciortino@users.noreply.github.com> | 2017-07-28 23:35:20 +0200 |
---|---|---|
committer | Brian Coca <bcoca@users.noreply.github.com> | 2017-07-28 17:35:20 -0400 |
commit | 7cfd02097cfd6e2f966b8bd8dbc1e94194df4fc5 (patch) | |
tree | daf3152ddf8a3011dbc984238f5053918d9ac1a3 /lib/ansible/modules/inventory | |
parent | e241e15899d864fdad67e198c0bce3457622a01c (diff) | |
download | ansible-7cfd02097cfd6e2f966b8bd8dbc1e94194df4fc5.tar.gz |
add_hosts.py: Fix add_host does not recognise 'host' alias (#27418)
* add_hosts.py: Fix add_host does not recognise 'host' alias
* add_hosts.py: add note in documentation that 'hosts' alias of name parameter is only available on >=2.4
Diffstat (limited to 'lib/ansible/modules/inventory')
-rw-r--r-- | lib/ansible/modules/inventory/add_host.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ansible/modules/inventory/add_host.py b/lib/ansible/modules/inventory/add_host.py index 1e2c8398c9..236b8875b6 100644 --- a/lib/ansible/modules/inventory/add_host.py +++ b/lib/ansible/modules/inventory/add_host.py @@ -44,6 +44,7 @@ notes: - This module bypasses the play host loop and only runs once for all the hosts in the play, if you need it to iterate use a with\_ directive. - This module is also supported for Windows targets. + - The alias 'host' of the parameter 'name' is only available on >=2.4 author: - "Ansible Core Team" - "Seth Vidal" |