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/modules/system
patchback[bot] 03b128aeff
Add 'state' parameter for alternatives (#4557) (#4576)
* 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>
(cherry picked from commit 29c49febd9)

Co-authored-by: Tanner Prestegard <tprestegard@users.noreply.github.com>
2022-04-26 06:41:04 +00:00
..
aix_devices.py
aix_filesystem.py
aix_inittab.py
aix_lvg.py
aix_lvol.py
alternatives.py Add 'state' parameter for alternatives (#4557) (#4576) 2022-04-26 06:41:04 +00:00
awall.py
beadm.py
capabilities.py
cronvar.py
crypttab.py
dconf.py
dpkg_divert.py
facter.py
filesystem.py Implement btrfs resize support (#4465) (#4498) 2022-04-13 11:16:27 +00:00
gconftool2.py
homectl.py
interfaces_file.py
iptables_state.py
java_cert.py
java_keystore.py
kernel_blacklist.py
launchd.py
lbu.py
listen_ports_facts.py
locale_gen.py
lvg.py
lvol.py
make.py
mksysb.py
modprobe.py
nosh.py
ohai.py
open_iscsi.py
openwrt_init.py
osx_defaults.py
pam_limits.py
pamd.py
parted.py
pids.py
puppet.py
python_requirements_info.py
runit.py
sap_task_list_execute.py
sefcontext.py
selinux_permissive.py
selogin.py
seport.py
shutdown.py
solaris_zone.py
ssh_config.py
sudoers.py
svc.py
syspatch.py
sysrc.py
sysupgrade.py
timezone.py
ufw.py
vdo.py
xfconf.py xfconf: added missing value types (#4534) (#4541) 2022-04-20 21:33:05 +02:00
xfconf_info.py
xfs_quota.py