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
Tanner Prestegard 29c49febd9
Add 'state' parameter for alternatives (#4557)
* Add 'activate' parameter for alternatives

Allow alternatives to be installed without being set as the current
selection.

* add changelog fragment

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

* rename 'activate' -> 'selected'

* rework 'selected' parameter -> 'state'

* handle unsetting of currently selected alternative

* add integration tests for 'state' parameter

* fix linting issues

* fix for Python 2.7 compatibility

* Remove alternatives file.

Co-authored-by: Felix Fontein <felix@fontein.de>
2022-04-26 08:20:29 +02:00
..
action
become
cache
callback
connection
doc_fragments
filter
inventory Parse lxc key from api data for lxc containers (#4555) 2022-04-25 22:21:36 +02:00
lookup
module_utils Command Runner (#4476) 2022-04-25 22:12:00 +02:00
modules Add 'state' parameter for alternatives (#4557) 2022-04-26 08:20:29 +02:00
test