mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
* Only pass subcommands when they are specified as module arguments.
* When 'subcommands' is specified, 'link' must be given for every subcommand.
* Extend subcommand tests.
(cherry picked from commit 84d8ca9234
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
40b35acee2
commit
de5fbe457f
7 changed files with 151 additions and 3 deletions
3
changelogs/fragments/4836-alternatives.yml
Normal file
3
changelogs/fragments/4836-alternatives.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
bugfixes:
|
||||
- "alternatives - only pass subcommands when they are specified as module arguments (https://github.com/ansible-collections/community.general/issues/4803, https://github.com/ansible-collections/community.general/issues/4804, https://github.com/ansible-collections/community.general/pull/4836)."
|
||||
- "alternatives - when ``subcommands`` is specified, ``link`` must be given for every subcommand. This was already mentioned in the documentation, but not enforced by the code (https://github.com/ansible-collections/community.general/pull/4836)."
|
Loading…
Add table
Add a link
Reference in a new issue