New in version 1.6.
Enables or disables a specified module of the Apache2 webserver.
parameter | required | default | choices | comments |
---|---|---|---|---|
force (added in 2.1)
| no |
| force disabling of default modules and override Debian warnings |
|
name | yes | name of the module to enable/disable |
||
state | no | present |
| indicate the desired state of the resource |
# enables the Apache2 module "wsgi" - apache2_module: state=present name=wsgi # disables the Apache2 module "wsgi" - apache2_module: state=absent name=wsgi
For more information on what this means please read Core Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/apache2_module_module.html