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
Jon 1ba79f3c6a
Sudoers (take 2) (#3746)
* 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>
2022-01-05 08:30:44 +13:00
..
aix_devices.py
aix_filesystem.py aix_filesystems - invoke run_command passing list (#3833) 2021-12-09 21:19:44 +01:00
aix_inittab.py
aix_lvg.py aix_lvg - invoke run_command passing list (#3834) 2021-12-09 21:20:12 +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) 2021-12-24 17:34:48 +00:00
facter.py
filesystem.py Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00
gconftool2.py
interfaces_file.py interfaces_file - fixed dup options bug (#3862) 2021-12-07 21:54:54 +01:00
iptables_state.py
java_cert.py java_cert - invoke run_command passing list (#3835) 2021-12-03 07:27:03 +01:00
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 Docs improvements. (#3893) 2021-12-12 11:01:14 +01:00
ohai.py
open_iscsi.py
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) 2021-12-24 17:34:48 +00:00
puppet.py
python_requirements_info.py Prepare for distutils.version being removed in Python 3.12 (#3936) 2021-12-24 17:34:48 +00:00
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 Sudoers (take 2) (#3746) 2022-01-05 08:30:44 +13:00
svc.py svc - invoke run_command passing list (#3829) 2021-12-01 13:18:38 +01:00
syspatch.py
sysrc.py
sysupgrade.py
timezone.py small docs update for timezone module (#3876) 2021-12-09 20:49:21 +01:00
ufw.py
vdo.py
xfconf.py xfconf - using aggregated base class (#3919) 2021-12-19 14:17:17 +01:00
xfconf_info.py
xfs_quota.py