ansible/lib/ansible
Michael Gugino 250f862573 Fix bug #5328 apache module loading (#19355)
* Fix bug #5328 apache module loading

Currently, the apache2_module module parses apache configs
for correctness when enabling or disabling apache2 modules.

This behavior introduced a conflict condition when transitioning
between mpm modules, such as mpm_worker and mpm_event.

This change accounts for the specific error condition raised
by ``apachectl -M``:
``AH00534: apache2: Configuration error: No MPM loaded.``
When loading or unloading a module with a name that contains 'mpm_',
apache2_module will ignore the error raised by apachectl if stderr
contains 'AH00534'.

Fixes #5328

* Add AH00534 warning

* Added changes from PR #5629

* Modified ignore_configcheck behavior
2016-12-14 13:18:19 -08:00
..
cli Fix errors on 'ansible-playbook --flush-cache' (#18754) 2016-12-13 14:35:15 -05:00
compat
config
errors
executor minor spelling changes 2016-12-13 13:51:13 -05:00
galaxy
inventory minor spelling changes 2016-12-13 13:51:13 -05:00
module_utils Factored polling std{out,err} reads into a function 2016-12-14 10:14:31 -08:00
modules Fix bug #5328 apache module loading (#19355) 2016-12-14 13:18:19 -08:00
parsing Fix regression in search path behaviour 2016-12-14 10:33:14 -05:00
playbook Removed dict.iteritems() in several other files. 2016-12-14 08:01:45 -08:00
plugins bad/missing fact plugin is a warning (#19350) 2016-12-14 14:25:19 -05:00
template Fix AST nodes for Python 3 and enable dependent test_uri (#18597) 2016-12-13 07:37:39 -08:00
utils minor spelling changes 2016-12-13 13:51:13 -05:00
vars bad/missing fact plugin is a warning (#19350) 2016-12-14 14:25:19 -05:00
__init__.py
constants.py minor spelling changes 2016-12-13 13:51:13 -05:00
release.py
test-requirements.txt