diff --git a/lib/ansible/modules/network/aci/aci_filter.py b/lib/ansible/modules/network/aci/aci_filter.py index ca7fe9ddd5..36bce1776d 100644 --- a/lib/ansible/modules/network/aci/aci_filter.py +++ b/lib/ansible/modules/network/aci/aci_filter.py @@ -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' diff --git a/lib/ansible/modules/network/aci/aci_subject_filter_binding.py b/lib/ansible/modules/network/aci/aci_subject_filter_binding.py index 4d14e9690f..b46963b069 100644 --- a/lib/ansible/modules/network/aci/aci_subject_filter_binding.py +++ b/lib/ansible/modules/network/aci/aci_subject_filter_binding.py @@ -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 }}'