Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #558/8ac19005 backport][stable-4] Fix gather_network_resources documentation for exos_facts #562

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions plugins/modules/network/exos/exos_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
enable or disable collection of additional facts.
notes:
- Tested against EXOS 22.5.1.7
- "The I(gather_network_resources) option currently only works with
C(ansible_connection: ansible.netcommon.httpapi). For details, see
U(https://github.com/ansible-collections/community.network/issues/460)."
options:
gather_subset:
description:
Expand All @@ -56,7 +59,8 @@
Can specify a list of values to include a larger subset.
Values can also be used with an initial C(!) to specify that
a specific subset should not be collected.
Valid subsets are 'all', 'lldp_global'.
Valid subsets are 'all', 'lldp_global', 'lldp_interfaces',
'vlans', 'l2_interfaces'.
type: list
'''

Expand All @@ -83,13 +87,13 @@
gather_subset:
- '!all'
- '!min'
gather_network_resource:
gather_network_resources:
- lldp_global

- name: Gather lldp global resource and minimal legacy facts
community.network.exos_facts:
gather_subset: min
gather_network_resource: lldp_global
gather_network_resources: lldp_global
"""

RETURN = """
Expand Down
Loading