diff options
author | CaptTrews <capttrews@gmail.com> | 2019-11-01 07:25:16 +0000 |
---|---|---|
committer | CaptTrews <capttrews@gmail.com> | 2019-11-01 07:25:16 +0000 |
commit | 884ae8b96e2f4951a1fded8a947936da46e614c3 (patch) | |
tree | 14a9aab09c3a6ce1d72d0be19a5a5e80e5bc9297 /plugins/modules/vyos_user.py | |
parent | 3b241d1bec8f8aeabe39c41f14493db397d82dbe (diff) | |
download | vyos.vyos-884ae8b96e2f4951a1fded8a947936da46e614c3.tar.gz vyos.vyos-884ae8b96e2f4951a1fded8a947936da46e614c3.zip |
Updated from network content collector
Signed-off-by: CaptTrews <capttrews@gmail.com>
Diffstat (limited to 'plugins/modules/vyos_user.py')
-rw-r--r-- | plugins/modules/vyos_user.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py index eb71c58..5a766ee 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) |