ansible/lib/ansible
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
..
cli Fix from sivel for ansible-doc 2018-10-25 12:06:18 -07:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Add configuration to override location of ansible-connection (#46128) 2018-10-01 14:29:59 -04:00
errors Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
executor Don't use the task for a cache, return a special cache var (#47243) 2018-10-18 15:25:43 -05:00
galaxy ansible-galaxy: fix searching with unicode 2018-10-18 14:59:03 -04:00
inventory better information for user from inventory plugins (#46766) 2018-10-12 11:27:29 -04:00
module_utils docker_* modules: simplify idempotency comparisons (#47709) 2018-10-30 08:50:34 +00:00
modules pamd: fixes for multiple issues (#47695) 2018-10-30 10:21:22 -04:00
parsing An earlier optimization of ansible-doc -l caused failures. (#47012) 2018-10-17 11:15:59 -04:00
playbook Ensure we don't overwrite roles from include/import_role when loading the play (#47512) 2018-10-23 11:08:48 -05:00
plugins plugin_filter: check for type error (#46664) 2018-10-30 18:25:02 +05:30
template Do not strip new lines in native jinja (#46751) 2018-10-19 00:14:43 +02:00
utils Initial import of MSC module_utils (#46116) 2018-10-29 18:45:42 +01:00
vars Don't use the task for a cache, return a special cache var (#47243) 2018-10-18 15:25:43 -05:00
__init__.py
constants.py Fix from sivel for ansible-doc 2018-10-25 12:06:18 -07:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00