1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
patchback[bot] 03b312c0ae
[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 commit af53271c41)

Co-authored-by: Alexander Couzens <lynxis@fe80.eu>
2022-12-17 12:22:27 +01:00
..
action/system Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) (#5068) 2022-08-05 13:17:19 +02:00
become Make pfexec become usable for illumos (#3889) (#5339) 2022-10-05 12:49:38 +02:00
cache Normalize more booleans. (#5247) (#5250) 2022-09-06 21:07:46 +02:00
callback unixy Callback: Use Ansible's config manager (#5601) (#5624) 2022-11-29 08:01:04 +01:00
connection chroot plugin fix inventory_hostname var for remote_addr (#5570) (#5572) 2022-11-17 07:29:55 +01:00
doc_fragments Fix non-matching defaults. (#5452) (#5453) 2022-11-01 19:45:37 +01:00
filter Clarification to use underscores instead of dashes in parser name (#5500) (#5508) 2022-11-08 20:32:25 +01:00
inventory [PR #5602/632fc07e backport][stable-5] Updated tags delimiter (#5651) 2022-12-04 12:57:21 +01:00
lookup dependent lookup: prevent deprecation warning with ansible-core 2.14 (#5543) (#5547) 2022-11-15 08:47:51 +01:00
module_utils [PR #5667/c3bc172b backport][stable-5] respect new variable property in gitlab_group_variable and gitlab_project_variable (#5678) 2022-12-10 22:42:16 +01:00
modules [PR #5659/af53271c backport][stable-5] lxc_container: fix lxc argument when executing lxc command (#5697) 2022-12-17 12:22:27 +01:00
test Fix more copyright lines, add more default copyright lines (#5095) (#5096) 2022-08-08 15:19:46 +02:00