|
|
@ -19,6 +19,7 @@
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
|
module: apache2_module
|
|
|
|
module: apache2_module
|
|
|
|
|
|
|
|
version_added: 1.6
|
|
|
|
short_description: enables/disables a module of the Apache2 webserver
|
|
|
|
short_description: enables/disables a module of the Apache2 webserver
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Enables or disables a specified module of the Apache2 webserver.
|
|
|
|
- Enables or disables a specified module of the Apache2 webserver.
|
|
|
@ -91,6 +92,7 @@ def main():
|
|
|
|
if module.params['state'] == 'absent':
|
|
|
|
if module.params['state'] == 'absent':
|
|
|
|
_disable_module(module)
|
|
|
|
_disable_module(module)
|
|
|
|
|
|
|
|
|
|
|
|
# this is magic, see lib/ansible/module.params['common.py
|
|
|
|
# import module snippets
|
|
|
|
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
|
|
|
|
from ansible.module_utils.basic import *
|
|
|
|
main()
|
|
|
|
main()
|
|
|
|
|
|
|
|
|
|
|
|