Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samdoran/ansible-role-rsyslog


https://github.com/samdoran/ansible-role-rsyslog

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

        

syslog
========

Configure rsyslog collector, relay, or host depending on `group_names`. The role will install rsyslog 7 on the collector.

Requirements
------------

rsyslog >=5.10 on relay and client hosts

Role Variables
--------------

**rsyslog_tcp_port:** TCP port for shipping unencrypted logs (default 514)

**rsyslog_udp_port:** UDP port for shipping unencrypted logs (default 514)

**rsyslog_tls_port:** TCP port for shipping encrypted logs (default 6514)

**rsyslog_encrypt:** Whethere or not to enable TLS encryption (default false)

**rsyslog_protocol:** Transport protocol, eithe TCP or UDP (default tcp)

**rsyslog_collector:** Where logs will be shipped

Dependencies
------------

rsyslog must be available in a repository

Example Playbook
-------------------------

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
roles:
- { role: syslog, rsyslog_encrypt: false, rsyslog_protocol: tcp }

License
-------

MIT