1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Don't detect update if vrf not set. (#56235)

This commit is contained in:
Nathaniel Case 2019-05-09 08:03:47 -04:00 committed by Nilashish Chakraborty
parent f9589bd4b1
commit ea41bbcd4e

View file

@ -299,7 +299,7 @@ def map_config_to_obj(module):
'local_http': out[0]['localHttpServer']['configured'], 'local_http': out[0]['localHttpServer']['configured'],
'local_http_port': out[0]['localHttpServer']['port'], 'local_http_port': out[0]['localHttpServer']['port'],
'socket': out[0]['unixSocketServer']['configured'], 'socket': out[0]['unixSocketServer']['configured'],
'vrf': out[0]['vrf'], 'vrf': out[0]['vrf'] or "default",
'state': parse_state(out) 'state': parse_state(out)
} }