mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 06:53:21 -07:00
Fix alternatives module (#4836)
* Only pass subcommands when they are specified as module arguments. * When 'subcommands' is specified, 'link' must be given for every subcommand. * Extend subcommand tests.
This commit is contained in:
parent
a45b90e93f
commit
84d8ca9234
7 changed files with 151 additions and 3 deletions
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
alternatives_dir: /var/lib/dpkg/alternatives/
|
||||
alternatives_command: update-alternatives
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
alternatives_dir: /var/lib/rpm/alternatives/
|
||||
alternatives_command: update-alternatives
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
alternatives_dir: /var/lib/alternatives/
|
||||
alternatives_command: update-alternatives
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue