community / community.general / 0.1.1 / module / logentries Module for tracking logs via logentries.com Authors: Ivan Vanderbyl (@ivanvanderbyl) preview | supported by communitycommunity.general.logentries (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Sends logs to LogEntries in realtime
# 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
name: description: - name of the log required: false path: description: - path to a log file required: true state: choices: - present - absent default: present description: - following state of the log required: false logtype: description: - type of the log required: false