mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ACI fixes (#28257)
This commit is contained in:
parent
c6efb81707
commit
edba563e9a
2 changed files with 3 additions and 3 deletions
|
@ -122,7 +122,7 @@ def main():
|
|||
# TODO: Investigate for a URI to query objects for a specific tenant
|
||||
if filter_name is not None:
|
||||
# Work with a specific object
|
||||
path = 'api/mo/uni/tn-%(tenant)s/flt-%(filter_name)s.json' % module.params
|
||||
path = 'api/mo/uni/tn-%s/flt-%s.json' % (tenant, filter_name)
|
||||
elif state == 'query':
|
||||
# Query all objects
|
||||
path = 'api/node/class/vzFilter.json'
|
||||
|
|
|
@ -24,7 +24,7 @@ requirements:
|
|||
- ACI Fabric 1.0(3f)+
|
||||
notes:
|
||||
- The C(tenant), C(contract), C(subject), and C(filter_name) must exist before using this module in your playbook.
|
||||
The M(aci_tenant), M(aci_contract), M(aci_contract_subject), and M(aci_filter) modules can be used for these.
|
||||
- The M(aci_tenant), M(aci_contract), M(aci_contract_subject), and M(aci_filter) modules can be used for these.
|
||||
options:
|
||||
contract:
|
||||
description:
|
||||
|
@ -59,7 +59,7 @@ extends_documentation_fragment: aci
|
|||
|
||||
# FIXME: Add more, better examples
|
||||
EXAMPLES = r'''
|
||||
- aci_subject_bind_filter:
|
||||
- aci_subject_filter_binding:
|
||||
hostname: '{{ inventory_hostname }}'
|
||||
username: '{{ username }}'
|
||||
password: '{{ password }}'
|
||||
|
|
Loading…
Reference in a new issue