community.general/lib/ansible/modules/system
Daniel Shepherd ef690e928f pamd: fixes for multiple issues (#47695)
* Providing fix for #47083 in pamd.py

* Providing fix for #47197

* Fixing pep8 errors

* update regex to account for leading dash and VALID_TYPES with dashes as well

* use a results dictionary and clean up unnecessary items

* remove unnessecary return value. action is already reported in invocation output

* make naming consistent across action returns

* fix comparison so it checks equality instead of identity and indentation in update_rule()

* make sure file always has EOF newline

* updated regex to skip spacing between path and args and add rule arg regex to capture complex args

* new module argument parsing code in function and DRY changes

* remove unused has_rule method on PamdService class

* fix error in parse_module_arguments()

* updated args_present action to make it handle key value args and fail on complex bracketed arguments

* pep8 and other fixes so units still work

* suggested change - make version removed 2.8

Co-Authored-By: shepdelacreme <shepdelacreme@users.noreply.github.com>

* add more error proof test to if statement
2018-10-30 10:21:22 -04:00
..
__init__.py
aix_inittab.py Port the aix_inittab to python 3 (#45678) 2018-09-17 19:01:38 -04:00
aix_lvol.py
alternatives.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
at.py
authorized_key.py Do not reset permissions in checkmode 2018-09-19 14:40:33 +02:00
awall.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
beadm.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
capabilities.py
cron.py Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
cronvar.py
crypttab.py
dconf.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
debconf.py
facter.py
filesystem.py Fix get_fs_size for LVM filesystem 2018-10-19 01:20:33 +02:00
firewalld.py Use loop instead of obsolete with_items in example (#47246) 2018-10-18 17:54:07 -05:00
gconftool2.py
getent.py
group.py Fix introduction version for parameter "local" in module "group" (#43719) 2018-08-06 11:40:19 -04:00
hostname.py Add Sangoma linux (#45430) 2018-09-10 14:20:22 -04:00
interfaces_file.py interfaces_file: Add support for address_family 2018-10-22 20:51:59 +02:00
iptables.py Docs: iptables module cleanup (#46368) 2018-10-03 15:39:57 -04:00
java_cert.py Clarify how java_cert checks keystore certificates (#26567) 2018-09-12 15:51:37 -05:00
java_keystore.py [docs] required arguments: name (#43758) 2018-08-07 15:49:52 -04:00
kernel_blacklist.py
known_hosts.py Fixed hash_host option in known_hosts module. Fixes #44284 2018-08-21 10:28:45 -07:00
locale_gen.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
lvg.py lvg: Allow unit to be specified for pesize (#39666) 2018-05-07 07:50:58 +02:00
lvol.py Documentation change for resizefs (#43224) 2018-07-25 00:22:24 +02:00
make.py Docs: Cleanup make module docs (#46422) 2018-10-03 16:12:07 -04:00
mksysb.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
modprobe.py
mount.py Add examples for bind and unmount to mount module docs 2018-10-02 17:48:13 +02:00
nosh.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
ohai.py Fix the docs link to Ohai in the Ohai module (#33788) 2018-03-08 17:00:17 -08:00
open_iscsi.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
openwrt_init.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
osx_defaults.py change OS X to macOS (#41294) 2018-06-26 14:09:23 -04:00
pam_limits.py Adds example of using wildcard domain in pam_limits (#43391) 2018-08-02 17:23:46 +10:00
pamd.py pamd: fixes for multiple issues (#47695) 2018-10-30 10:21:22 -04:00
parted.py Stop throwing TypeErrors (#43036) 2018-07-22 02:31:46 -04:00
ping.py
puppet.py Add additional puppet options (#42218) 2018-07-06 13:52:17 -04:00
python_requirements_facts.py New module: Python Requirements Facts (#43108) 2018-08-21 09:19:10 +10:00
reboot.py Add support for OpenBSD (#46147) 2018-09-28 16:07:44 -04:00
runit.py Fixed spelling error in runit module (#35948) 2018-02-10 21:13:55 +05:30
seboolean.py seboolean: Fix issue with changing persistent SELinux boolean values (#22779) 2018-09-28 19:04:33 -04:00
sefcontext.py Remove get_exception from the remainder of the modules 2018-10-18 08:37:04 -07:00
selinux.py Fixed check_mode status to be the same as normal execution (#40721) 2018-05-25 17:06:11 -04:00
selinux_permissive.py Docs: Cleanup selinux_permissive module docs (#46351) 2018-10-03 12:04:25 -05:00
seport.py Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
service.py Mass nuke deprecated items that are easily removed. ci_complete (#44320) 2018-08-20 16:26:10 -05:00
service_facts.py service_facts: Use LC_ALL/LANG=C to run commands (#44474) 2018-08-22 13:27:03 -04:00
setup.py Setup module: use C() formatting function in parameter descriptions, add a task based example (#42411) 2018-07-09 15:08:01 -04:00
solaris_zone.py Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
svc.py
sysctl.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
systemd.py module/systemd: fix logic determining if a service needs to be enabled (#46245) 2018-09-28 12:05:48 -04:00
sysvinit.py Fix referenced before assignment in sysvinit module (#42695) 2018-08-15 09:59:03 -04:00
timezone.py BSDTimezone: distinguish UTC and Etc/UTC (#41234) 2018-06-11 10:27:50 -04:00
ufw.py Use syntax loop instead of with_items in example (#47241) 2018-10-18 17:55:19 -05:00
user.py Fix python3 problem in user module cve fix 2018-10-22 18:31:57 -07:00
vdo.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
xfconf.py New module: Xfconf-based management of the Xfce 4 DE (#28112) 2018-09-19 18:10:22 -04:00