manala.logentries

#######################################################################################################

:exclamation: DEPRECATION :exclamation:

This repository and the role associated are deprecated.

You can find our other roles in the Manala Ansible Collection. You will find informations on its usage on the collection repository

#######################################################################################################

Ansible Role: Logentries Build Status

:exclamation: Report issues and send Pull Requests in the main Ansible Role repository :exclamation:

This role will deal with the configuration of Logentries.

It's part of the Manala Ansible stack but can be used as a stand alone component.

Requirements

None.

Dependencies

None.

Installation

Ansible 2+

Using ansible galaxy cli:

ansible-galaxy install manala.logentries

Using ansible galaxy requirements file:

- src: manala.logentries

Role Handlers

Name Type Description
logentries restart Service Restart logentries agent

Role Variables

Name Default Type Description
manala_logentries_install_packages ~ Array Dependency packages to install
manala_logentries_install_packages_default ['logentries', 'logentries-daemon'] Array Default dependency packages to install
manala_logentries_config_template 'config/default.j2' String Main configuration template path
manala_logentries_config_file '/etc/le/config' String Main configuration file path
manala_logentries_config [] Array Main configuration

Configuration example

manala_logentries_config:
  - Main:
    - pull-server-side-config: false
  - nginx-access:
    - path: /var/log/nginx/access.log
    - token: "{{ _logentries_nginx_access_token }}"
  - nginx-error:
    - path: /var/log/nginx/error.log
    - token: "{{ _logentries_nginx_error_token }}"

Example playbook

- hosts: servers
  roles:
     - { role: manala.logentries }

Licence

MIT

Author information

Manala (http://www.manala.io/)

Install
ansible-galaxy install manala.logentries
GitHub repository
License
Unknown
Downloads
550
Owner
Manala is an open source project supported by the french web agency ELAO providing advanced ansible roles for website's infrastructures and far more.