summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_user.py
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-06-26 06:05:34 +1000
committerGitHub <noreply@github.com>2026-06-26 06:05:34 +1000
commit921636e10fd8a4c765aa16049a4e45c2faca08e7 (patch)
treec1f99833376e15b4b47e01d28d20f12ba4a4c123 /plugins/modules/vyos_user.py
parent53e672f4103ef3e9fa5067ce9dd072bfc5b78bba (diff)
parent6d7a2184e970624f74f333931f7f70a1f900f7b5 (diff)
downloadvyos.vyos-921636e10fd8a4c765aa16049a4e45c2faca08e7.tar.gz
vyos.vyos-921636e10fd8a4c765aa16049a4e45c2faca08e7.zip
Merge branch 'main' into fix/icmp-parse-attr-bugfix/icmp-parse-attr-bug
Diffstat (limited to 'plugins/modules/vyos_user.py')
-rw-r--r--plugins/modules/vyos_user.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py
index d2f23509..e47f5a05 100644
--- a/plugins/modules/vyos_user.py
+++ b/plugins/modules/vyos_user.py
@@ -205,6 +205,7 @@ commands:
"""
import re
+import shlex
from copy import deepcopy
from functools import partial
@@ -276,7 +277,8 @@ def spec_to_commands(updates, module):
add(
commands,
want,
- "authentication plaintext-password %s" % want["configured_password"],
+ "authentication plaintext-password %s"
+ % shlex.quote(want["configured_password"]),
)
return commands