apache2_module - enables/disables a module of the Apache2 webserver

Synopsis

New in version 1.6.

Enables or disables a specified module of the Apache2 webserver.

Options

parameter required default choices comments
name yes
    name of the module to enable/disable
    state no present
    • present
    • absent
    indicate the desired state of the resource

    Examples


    # enables the Apache2 module "wsgi"
    - apache2_module: state=present name=wsgi
    
    # disables the Apache2 module "wsgi"
    - apache2_module: state=absent name=wsgi

    Table Of Contents

    Previous topic

    Web Infrastructure Modules

    Next topic

    django_manage - Manages a Django application.