mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-31 00:51:23 -07:00
[PR #5659/af53271c backport][stable-5] lxc_container: fix lxc argument when executing lxc command (#5697)
lxc_container: fix lxc argument when executing lxc command (#5659) lxc_container fails when executing the lxc command (e.g. when creating a new container) because PR#5358 broke the module argument parsing. The resulting argument dict contained only the module argument name and the argument flag but not the value. E.g. ``` - lxc_container: template: debian ``` would result in lxc command arguments `lxc template --template` instead of `lxc --template debian`. Fixes:6f88426cf1
("lxc_container: minor refactor (#5358)") Fixes #5578 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Alexander Couzens <lynxis@fe80.eu> (cherry picked from commitaf53271c41
) Co-authored-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
parent
a634cc2928
commit
03b312c0ae
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/5659-fix-lxc_container-command.yml
Normal file
2
changelogs/fragments/5659-fix-lxc_container-command.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- lxc_container - fix the arguments of the lxc command which broke the creation and cloning of containers (https://github.com/ansible-collections/community.general/issues/5578).
|
Loading…
Add table
Add a link
Reference in a new issue