From 2d116aca5e8f7df419a32ca226b40554477a4235 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 28 Mar 2014 17:11:21 -0400 Subject: [PATCH] Add version_added info + changelog --- CHANGELOG.md | 1 + library/web_infrastructure/apache2_module | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f2161b68f..c3b98a1717 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 94e33adcbb..73a92f4043 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() +