From 1b26cce57e454c5e8a9737cfb02518ec6dcafdda Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Thu, 9 Nov 2017 11:33:57 +0530 Subject: [PATCH] Fix platform agnostic failure for eos modules (#32712) Platform agnostic action plugin (net_base) calls `get_provider_argspec()` to fetch the provider specific details for each platform. This fix adds the function in eos module_utils and retuns a dict of provider spec. --- lib/ansible/module_utils/eos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_utils/eos.py b/lib/ansible/module_utils/eos.py index 00051d46c8..31b4803d8b 100644 --- a/lib/ansible/module_utils/eos.py +++ b/lib/ansible/module_utils/eos.py @@ -77,8 +77,8 @@ eos_top_spec = { eos_argument_spec.update(eos_top_spec) -def get_argspec(): - return eos_argument_spec +def get_provider_argspec(): + return eos_provider_spec def check_args(module, warnings):