/ansible-syslogclient

simple ansible role to setup system to send syslog to remote system

Primary LanguageJinjaBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Actions Status - Master Actions Status - Devel

Remote syslog client ansible role

A simple ansible role to setup system to send syslog to remote system For more advanced usage like TLS, you are encouraged to look other roles like Debops Rsyslog

Requirements & Dependencies

Ansible

It was tested on the following versions:

  • 1.9
  • 2.0
  • 2.2
  • 2.4
  • 2.5

Operating systems

Tested Ubuntu 14.04, 16.04, 18.04 and centos7

Example Playbook

Just include this role in your list. For example

- host: all
  roles:
    - juju4.syslogclient

Variables

syslogclient_server: 10.1.1.1

Continuous integration

This role has a travis basic test (for github), more advanced with kitchen and also a Vagrantfile (test/vagrant).

Once you ensured all necessary roles are present, You can test with:

$ cd /path/to/roles/juju4.syslogclient
$ kitchen verify
$ kitchen login

or

$ cd /path/to/roles/juju4.syslogclient/test/vagrant
$ vagrant up
$ vagrant ssh

Troubleshooting & Known issues

Other references

License

BSD 2-clause