From ea41bbcd4e5e01fb558c8812e197eea47a14d129 Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Thu, 9 May 2019 08:03:47 -0400 Subject: [PATCH] Don't detect update if vrf not set. (#56235) --- lib/ansible/modules/network/eos/eos_eapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/eos/eos_eapi.py b/lib/ansible/modules/network/eos/eos_eapi.py index 6d822603a0..add84c0c83 100644 --- a/lib/ansible/modules/network/eos/eos_eapi.py +++ b/lib/ansible/modules/network/eos/eos_eapi.py @@ -299,7 +299,7 @@ def map_config_to_obj(module): 'local_http': out[0]['localHttpServer']['configured'], 'local_http_port': out[0]['localHttpServer']['port'], 'socket': out[0]['unixSocketServer']['configured'], - 'vrf': out[0]['vrf'], + 'vrf': out[0]['vrf'] or "default", 'state': parse_state(out) }