mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
plugins: Doc improvement (#41378)
* Typo fixes * Grammer fixes * Option fixes Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
d6ba139713
commit
063d19048d
11 changed files with 23 additions and 24 deletions
|
@ -14,14 +14,14 @@ DOCUMENTATION = """
|
|||
version_added: "1.3"
|
||||
short_description: list of inventory hosts matching a host pattern
|
||||
description:
|
||||
- "This lookup understands 'host patterns' as used bye the `hosts:` keyword in plays
|
||||
- "This lookup understands 'host patterns' as used by the `hosts:` keyword in plays
|
||||
and can return a list of matching hosts from inventory"
|
||||
notes:
|
||||
- this is only worth for 'hostname patterns' it is easier to loop over the group/group_names variables otherwise.
|
||||
"""
|
||||
|
||||
EXAMPLES = """
|
||||
- name: show all the hosts matching the pattern, ie all but the group www
|
||||
- name: show all the hosts matching the pattern, i.e. all but the group www
|
||||
debug:
|
||||
msg: "{{ item }}"
|
||||
with_inventory_hostnames:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue