Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
2d116aca
Commit
2d116aca
authored
Mar 28, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add version_added info + changelog
parent
9a1c1d32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGELOG.md
+1
-0
library/web_infrastructure/apache2_module
+4
-2
No files found.
CHANGELOG.md
View file @
2d116aca
...
...
@@ -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
...
...
library/web_infrastructure/apache2_module
View file @
2d116aca
...
...
@@ -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
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
#
import module snippets
from
ansible.module_utils.basic
import
*
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment