New in version 1.6.
Enables or disables a specified module of the Apache2 webserver.
- a2enmod
- a2dismod
parameter | required | default | choices | comments |
---|---|---|---|---|
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, Helping Testing PRs and Developing Modules.