diff --git a/lib/ansible/modules/add_host.py b/lib/ansible/modules/add_host.py index f48140b8b17..fc4f79fa361 100644 --- a/lib/ansible/modules/add_host.py +++ b/lib/ansible/modules/add_host.py @@ -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. - 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. +- 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: - module: ansible.builtin.group_by author: