Skip to content

An Ansible role for setting up rsyslog clients with forwarding to a syslog server

License

Notifications You must be signed in to change notification settings

oscpe262/ansible-role-syslogclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role 'ansible-role-syslogclient'

An Ansible role for setting up Rsyslog clients to send logs to a rsyslog server.

Requirements

The variables syslogserver* collides with my role oscpe262.rsyslogserver. This should usually not be an issue if they are changed on a global level. They shouldn't need adjustment very often though, and then usually just the port, and the port you'll probably want to change on both server and clients anyway.

Role Variables

Variable Default Comments (type)
syslogclientServer localhost server to send logs to
syslogserverListenPort 514 port the server listens on
syslogserverPackages ["rsyslog"] list of packages to install
syslogserverService rsyslog service name

Dependencies

Example Playbook

- hosts: foo
  roles:
    - role: ansible-role-syslogclient

Testing

License

MIT

Contributors

Issues, feature requests, ideas, suggestions, etc. are appreciated and can be posted in the Issues section. Pull requests are also very welcome. Please create a topic branch for your proposed changes, it's the easiest way to merge back into the project.

About

An Ansible role for setting up rsyslog clients with forwarding to a syslog server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published