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] 1115b463fe
Sudoers (take 2) (#3746) (#3977)
* Add module and pass the andebox validate-modules

* Fixes pep8 and sanity checks

* Add tests (intending that they'll fail)

* Fix pep8 complaint

* Remove stub test_sudoers file

* Add version_added to documentation

Co-authored-by: Andrew Pantuso <ajpantuso@gmail.com>

* Various improvements as suggested by reviewers

* Remove further required: false from documentation

* Make yaml indentation consistently indented

* Remove default for command argument

Co-authored-by: Andrew Pantuso <ajpantuso@gmail.com>

* Refactor check_mode checking as guards

* Update documentation formatting and use to_native

* Update plugins/modules/system/sudoers.py

* Update examples and formatting

* Fix merge conflict

* Update handle

* Add some integration tests

* Update tests to pass yamllint

* Fix assertions typo

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* Remove wrapping quotes from assertions

* Use >- for long example names

* Add aliases file to sudoers integration tests

* Fix integration test name

* Create new alternative sudoers directory in case /tmp doesn't exist

* Alternative assertion test for checking rule revocation

* Re-quote assertions

* Update version_added to 4.3.0

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

* Uppercase first character of short_description

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

Co-authored-by: Andrew Pantuso <ajpantuso@gmail.com>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 1ba79f3c6a)

Co-authored-by: Jon <ellis.jp@gmail.com>
2022-01-04 21:08:02 +01:00
..
aix_devices.py
aix_filesystem.py aix_filesystems - invoke run_command passing list (#3833) (#3882) 2021-12-09 22:00:12 +01:00
aix_inittab.py
aix_lvg.py aix_lvg - invoke run_command passing list (#3834) (#3883) 2021-12-09 22:01:28 +01:00
aix_lvol.py
alternatives.py
awall.py
beadm.py
capabilities.py
cronvar.py
crypttab.py
dconf.py
dpkg_divert.py Prepare for distutils.version being removed in Python 3.12 (#3936) (#3941) 2021-12-24 19:15:47 +01:00
facter.py
filesystem.py Prepare for distutils.version being removed in Python 3.12 (#3936) (#3941) 2021-12-24 19:15:47 +01:00
gconftool2.py
interfaces_file.py interfaces_file - fixed dup options bug (#3862) (#3866) 2021-12-08 05:54:48 +00:00
iptables_state.py
java_cert.py java_cert - invoke run_command passing list (#3835) (#3842) 2021-12-03 08:07:15 +01:00
java_keystore.py
kernel_blacklist.py kernel_blacklist - revamped the module (#3329) 2021-09-20 19:39:35 +02:00
launchd.py
lbu.py
listen_ports_facts.py listen_ports_facts: Added support for ss (#3708) (#3744) 2021-11-16 20:06:56 +01:00
locale_gen.py
lvg.py
lvol.py Rework safety check on size arguments for when LV doesn't exist (#3681) (#3720) 2021-11-13 15:27:35 +01:00
make.py
mksysb.py
modprobe.py
nosh.py Docs improvements. (#3893) (#3894) 2021-12-12 11:46:31 +01:00
ohai.py
open_iscsi.py extend open_iscsi to allow rescanning a session to discover new mapped LUN's #3763 (#3765) (#3774) 2021-11-22 19:50:44 +01:00
openwrt_init.py
osx_defaults.py
pam_limits.py
pamd.py
parted.py
pids.py Prepare for distutils.version being removed in Python 3.12 (#3936) (#3941) 2021-12-24 19:15:47 +01:00
puppet.py
python_requirements_info.py Prepare for distutils.version being removed in Python 3.12 (#3936) (#3941) 2021-12-24 19:15:47 +01:00
runit.py Remove deprecated options, aliases and defaults (#3461) 2021-10-12 13:56:15 +02:00
sap_task_list_execute.py
sefcontext.py
selinux_permissive.py
selogin.py
seport.py
shutdown.py
solaris_zone.py
ssh_config.py ssh_config: Add 'forwardagent' option (#3495) 2021-10-14 21:24:23 +02:00
sudoers.py Sudoers (take 2) (#3746) (#3977) 2022-01-04 21:08:02 +01:00
svc.py svc - invoke run_command passing list (#3829) (#3830) 2021-12-01 20:43:16 +01:00
syspatch.py
sysrc.py
sysupgrade.py
timezone.py small docs update for timezone module (#3876) (#3878) 2021-12-09 21:19:03 +01:00
ufw.py [ufw] Insert or delete biased when deletion enabled - as for append or delete. (#3514) 2021-10-07 15:31:38 +02:00
vdo.py
xfconf.py xfconf - using aggregated base class (#3919) (#3920) 2021-12-20 10:15:24 +01:00
xfconf_info.py
xfs_quota.py