diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-01 11:05:33 +0000 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2016-12-01 11:05:33 +0000 |
commit | 7f67f7d48244caadcefdc205f8fa249cdbefab54 (patch) | |
tree | bb140a10bed351ef98e9087183cc72cf2857c791 /monitoring | |
parent | c7bf921c4f27e2cddfe912c81b13ae96c7349d4a (diff) | |
download | ansible-modules-extras-7f67f7d48244caadcefdc205f8fa249cdbefab54.tar.gz |
Native YAML + add comments (#3582)
Diffstat (limited to 'monitoring')
-rw-r--r-- | monitoring/logentries.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/monitoring/logentries.py b/monitoring/logentries.py index a347afd8..f4e3fef3 100644 --- a/monitoring/logentries.py +++ b/monitoring/logentries.py @@ -48,8 +48,16 @@ notes: - Requires the LogEntries agent which can be installed following the instructions at logentries.com ''' EXAMPLES = ''' -- logentries: path=/var/log/nginx/access.log state=present name=nginx-access-log -- logentries: path=/var/log/nginx/error.log state=absent +# Track nginx logs +- logentries: + path: /var/log/nginx/access.log + state: present + name: nginx-access-log + +# Stop tracking nginx logs +- logentries: + path: /var/log/nginx/error.log + state: absent ''' def query_log_status(module, le_path, path, state="present"): |