summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/add_host.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/add_host.py')
-rw-r--r--lib/ansible/modules/add_host.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/modules/add_host.py b/lib/ansible/modules/add_host.py
index b446df59..eb9d5597 100644
--- a/lib/ansible/modules/add_host.py
+++ b/lib/ansible/modules/add_host.py
@@ -59,8 +59,8 @@ attributes:
platform:
platforms: all
notes:
-- The alias C(host) of the parameter C(name) is only available on Ansible 2.4 and newer.
-- Since Ansible 2.4, the C(inventory_dir) variable is now set to C(None) instead of the 'global inventory source',
+- The alias O(host) of the parameter O(name) is only available on Ansible 2.4 and newer.
+- Since Ansible 2.4, the C(inventory_dir) variable is now set to V(None) instead of the 'global inventory source',
because you can now have multiple sources. An example was added that shows how to partially restore the previous behaviour.
- Though this module does not change the remote host, we do provide 'changed' status as it can be useful for those trying to track inventory changes.
- The hosts added will not bypass the C(--limit) from the command line, so both of those need to be in agreement to make them available as play targets.