diff options
| author | omnom62 <75066712+omnom62@users.noreply.github.com> | 2026-06-26 06:17:11 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-26 06:17:11 +1000 |
| commit | ea453e467edbf0d5c29f098a06ee4bb5b9a73014 (patch) | |
| tree | f1b40f48e3220077d3db19885b828ef0203aabee /plugins/modules/vyos_user.py | |
| parent | c7fa0a23524bcfbd74be903948f593fcc6fe3f93 (diff) | |
| parent | 6d7a2184e970624f74f333931f7f70a1f900f7b5 (diff) | |
| download | vyos.vyos-ea453e467edbf0d5c29f098a06ee4bb5b9a73014.tar.gz vyos.vyos-ea453e467edbf0d5c29f098a06ee4bb5b9a73014.zip | |
Merge branch 'main' into test/lldp-interfaces-unit-tests
Diffstat (limited to 'plugins/modules/vyos_user.py')
| -rw-r--r-- | plugins/modules/vyos_user.py | 4 |
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 |
