diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f2161b68f7..c3b98a1717a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ New Modules: * system: capabilities * net_infrastructure: bigip_facts * net_infrastructure: dnssimple +* web_infrastructure: apache2_module * cloud: digital_ocean_domain * cloud: digital_ocean_sshkey * cloud: rax_identity diff --git a/library/web_infrastructure/apache2_module b/library/web_infrastructure/apache2_module index 94e33adcbbd..73a92f40434 100644 --- a/library/web_infrastructure/apache2_module +++ b/library/web_infrastructure/apache2_module @@ -19,6 +19,7 @@ DOCUMENTATION = ''' --- module: apache2_module +version_added: 1.6 short_description: enables/disables a module of the Apache2 webserver description: - Enables or disables a specified module of the Apache2 webserver. @@ -91,6 +92,7 @@ def main(): if module.params['state'] == 'absent': _disable_module(module) -# this is magic, see lib/ansible/module.params['common.py -#<> +# import module snippets +from ansible.module_utils.basic import * main() +