mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 19:20:22 -07:00
kdeconfig: mark end of options before sending value (#10128)
* mark end of options before sending value * fix linting issue * fragment update
This commit is contained in:
parent
937d92ee25
commit
626ee3115d
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/10128-mark-end-of-options.yml
Normal file
2
changelogs/fragments/10128-mark-end-of-options.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "kdeconfig - allow option values beginning with a dash (https://github.com/ansible-collections/community.general/issues/10127, https://github.com/ansible-collections/community.general/pull/10128)."
|
|
@ -141,7 +141,7 @@ def run_kwriteconfig(module, cmd, path, groups, key, value):
|
|||
else:
|
||||
args.append('false')
|
||||
else:
|
||||
args.append(value)
|
||||
args.extend(['--', value])
|
||||
module.run_command(args, check_rc=True)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue