mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
aci_switch_policy_vpc_protection_group: Fix idempotency (#45091)
This commit is contained in:
parent
aeac8fe141
commit
6faf400621
3 changed files with 11 additions and 13 deletions
|
@ -255,14 +255,12 @@ def main():
|
|||
class_config=dict(
|
||||
name=protection_group,
|
||||
id=protection_group_id,
|
||||
rn='expgep-{0}'.format(protection_group),
|
||||
),
|
||||
child_configs=[
|
||||
dict(
|
||||
fabricNodePEp=dict(
|
||||
attributes=dict(
|
||||
id='{0}'.format(switch_1_id),
|
||||
rn='nodepep-{0}'.format(switch_1_id),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -270,7 +268,6 @@ def main():
|
|||
fabricNodePEp=dict(
|
||||
attributes=dict(
|
||||
id='{0}'.format(switch_2_id),
|
||||
rn='nodepep-{0}'.format(switch_2_id),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue