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
9190ddfc
Commit
9190ddfc
authored
Mar 28, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation updates / changelog.
parent
1f4e082c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
CHANGELOG.md
+1
-0
library/monitoring/logentries
+5
-5
No files found.
CHANGELOG.md
View file @
9190ddfc
...
@@ -22,6 +22,7 @@ New Modules:
...
@@ -22,6 +22,7 @@ New Modules:
*
packaging: homebrew_tap (OS X)
*
packaging: homebrew_tap (OS X)
*
packaging: homebrew_cask (OS X)
*
packaging: homebrew_cask (OS X)
*
packaging: apt_rpm
*
packaging: apt_rpm
*
monitoring: logentries
*
notification: nexmo (SMS)
*
notification: nexmo (SMS)
*
notification: twilio (SMS)
*
notification: twilio (SMS)
*
notification: slack (Slack.com)
*
notification: slack (Slack.com)
...
...
library/monitoring/logentries
View file @
9190ddfc
...
@@ -20,10 +20,10 @@ DOCUMENTATION = '''
...
@@ -20,10 +20,10 @@ DOCUMENTATION = '''
---
---
module: logentries
module: logentries
author: Ivan Vanderbyl
author: Ivan Vanderbyl
short_description:
Log aggregation service
short_description:
Module for tracking logs via logentries.com
description:
description:
- Sends logs to LogEntries in realtime
- Sends logs to LogEntries in realtime
version_added: "1.
0
"
version_added: "1.
6
"
options:
options:
path:
path:
description:
description:
...
@@ -36,7 +36,7 @@ options:
...
@@ -36,7 +36,7 @@ options:
required: false
required: false
default: present
default: present
notes:
notes:
- Requires the LogEntries agent which can be installed following the instructions at logent
ir
es.com
- Requires the LogEntries agent which can be installed following the instructions at logent
ri
es.com
'''
'''
EXAMPLES
=
'''
EXAMPLES
=
'''
- logentries: path=/var/log/nginx/access.log state=present
- logentries: path=/var/log/nginx/access.log state=present
...
@@ -124,7 +124,7 @@ def main():
...
@@ -124,7 +124,7 @@ def main():
elif
p
[
"state"
]
in
[
"absent"
,
"unfollowed"
]:
elif
p
[
"state"
]
in
[
"absent"
,
"unfollowed"
]:
unfollow_log
(
module
,
le_path
,
logs
)
unfollow_log
(
module
,
le_path
,
logs
)
#
this is magic, see lib/ansible/module_common.py
#
import module snippets
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
from
ansible.module_utils.basic
import
*
main
()
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