mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
e4a997c97e
commit
441376c754
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ def get_value(arg, config):
|
|||
|
||||
def get_existing(module, args, warnings):
|
||||
existing = {}
|
||||
netcfg = CustomNetworkConfig(indent=2, contents=get_config(module))
|
||||
netcfg = CustomNetworkConfig(indent=2, contents=get_config(module, flags=['bgp all']))
|
||||
|
||||
asn_re = re.compile(r'.*router\sbgp\s(?P<existing_asn>\d+).*', re.S)
|
||||
asn_match = asn_re.match(str(netcfg))
|
||||
|
|
Loading…
Reference in a new issue