summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-04-08 05:18:50 +1000
committerGitHub <noreply@github.com>2026-04-08 05:18:50 +1000
commitcf76cff9a8f56dad3d65aab8e34dda8b4d94d95a (patch)
tree0bbf1e38e029e2cbd141addedd2a01f8c05dfaf0 /plugins
parent6b8c182fbfac73128588b8a0e50816cc8b099616 (diff)
parent16e6f21de8e90833e2284aeab6cd39d2e1482155 (diff)
downloadvyos.vyos-cf76cff9a8f56dad3d65aab8e34dda8b4d94d95a.tar.gz
vyos.vyos-cf76cff9a8f56dad3d65aab8e34dda8b4d94d95a.zip
Merge branch 'main' into dependabot/github_actions/ansible/team-devtools/dot-github/workflows/ah_token_refresh.yml-26.2.0
Diffstat (limited to 'plugins')
-rw-r--r--plugins/modules/vyos_user.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py
index 7aaa45ae..d2f23509 100644
--- a/plugins/modules/vyos_user.py
+++ b/plugins/modules/vyos_user.py
@@ -363,6 +363,8 @@ def get_param_value(key, item, module):
# if key doesn't exist in the item, get it from module.params
if not item.get(key):
value = module.params[key]
+ else:
+ value = item.get(key)
# validate the param value (if validator func exists)
validator = globals().get("validate_%s" % key)