small note about add_hosts/limit interaction (#74978)

clarifying the scope and applicability

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
pull/75035/head
Brian Coca 3 years ago committed by GitHub
parent 2387ce311f
commit 7d38bb05e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,6 +38,8 @@ notes:
because you can now have multiple sources. An example was added that shows how to partially restore the previous behaviour. because you can now have multiple sources. An example was added that shows how to partially restore the previous behaviour.
- Windows targets are supported by this module. - Windows targets are supported by this module.
- 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. - 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 ``--limit`` from the command line, so both of those need to be in agreement to make them available as play targets.
They are still available from hostvars and for delegation as a normal part of the inventory.
seealso: seealso:
- module: ansible.builtin.group_by - module: ansible.builtin.group_by
author: author:

Loading…
Cancel
Save