From 884ae8b96e2f4951a1fded8a947936da46e614c3 Mon Sep 17 00:00:00 2001 From: CaptTrews Date: Fri, 1 Nov 2019 07:25:16 +0000 Subject: Updated from network content collector Signed-off-by: CaptTrews --- plugins/modules/vyos_user.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'plugins/modules') diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py index eb71c583..5a766eea 100644 --- a/plugins/modules/vyos_user.py +++ b/plugins/modules/vyos_user.py @@ -326,15 +326,7 @@ def main(): ) warnings = list() - if module.params["password"] and not module.params["configured_password"]: - warnings.append( - 'The "password" argument is used to authenticate the current connection. ' - + 'To set a user password use "configured_password" instead.' - ) - - result = {"changed": False} - if warnings: - result["warnings"] = warnings + result = {"changed": False, "warnings": warnings} want = map_params_to_obj(module) have = config_to_dict(module) -- cgit v1.2.3