From e21270988ca93ed41c53f01867618a4ae193a017 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Mon, 5 Nov 2018 19:34:15 +0100 Subject: [PATCH] aci_epg: parameter bd is not required (#47999) --- lib/ansible/modules/network/aci/aci_epg.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/network/aci/aci_epg.py b/lib/ansible/modules/network/aci/aci_epg.py index 2e072c9bf4..4f0938d2c7 100644 --- a/lib/ansible/modules/network/aci/aci_epg.py +++ b/lib/ansible/modules/network/aci/aci_epg.py @@ -42,7 +42,6 @@ options: bd: description: - Name of the bridge domain being associated with the EPG. - required: yes aliases: [ bd_name, bridge_domain ] priority: description: @@ -350,9 +349,13 @@ def main(): fwdCtrl=fwd_control, prefGrMemb=preferred_group, ), - child_configs=[ - dict(fvRsBd=dict(attributes=dict(tnFvBDName=bd))), - ], + child_configs=[dict( + fvRsBd=dict( + attributes=dict( + tnFvBDName=bd, + ), + ), + )], ) aci.get_diff(aci_class='fvAEPg')