CiscoDevNet / ansible-aci

Cisco ACI Ansible Collection
https://galaxy.ansible.com/cisco/aci
GNU General Public License v3.0
143 stars 97 forks source link

aci_interface_policy_leaf_policy_group no longer working in 2.8.0 #540

Closed rowco closed 10 months ago

rowco commented 12 months ago

Community Note

Description

Affected Module Name(s):

APIC version and APIC Platform

Collection versions

Output/ Error message

Expected Behavior

Actual Behavior

Playbook tasks to Reproduce

    - name: Create a VPC Leaf Access Port Policy Group
      cisco.aci.aci_interface_policy_leaf_policy_group:
        host: "{{inventory_hostname}}"
        username: "{{ansible_user}}"
        password: "{{ansible_password}}"
        use_ssl: true
        validate_certs: no
        policy_group: "{{interface.policy_group}}"
        lag_type: node
        state: "{{state}}"
        # include defaults from inventory
        aep: "{{interface.aep | default(default_policy_group.aep)}}"
        link_level_policy: "{{interface.link_level_policy | default(default_policy_group.link_level_policy)}}"
        cdp_policy: "{{interface.cdp_policy | default(default_policy_group.cdp_policy)}}"
        lldp_policy: "{{interface.lldp_policy | default(default_policy_group.lldp_policy)}}"
        mcp_policy: "{{interface.mcp_policy | default(default_policy_group.mcp_policy)}}"
        stp_interface_policy: "{{interface.stp_interface_policy | default(default_policy_group.stp_interface_policy)}}"
        storm_control_interface_policy: "{{interface.storm_control_interface_policy | default(default_policy_group.storm_control_interface_policy)}}"
        l2_interface_policy: "{{interface.l2_interface_policy | default(default_policy_group.l2_interface_policy)}}"
        port_channel_policy: "{{interface.port_channel_policy | default(default_policy_group.port_channel_policy)}}"

Important Factoids

References

akinross commented 12 months ago

Hi @rowco,

Thanks for raising this issue, I will add it on top to the to todo items. What version of ACI are you running?