DEPRECATED, Role rsyslog_client for OpenStack-Ansible
Go to file
OpenStack Proposal Bot 5875707a7b Updated from global requirements
Change-Id: I5e7dae3eaa0ee3cee7d584c1d54859feae10e549
2016-07-15 03:58:25 +00:00
defaults Allow overriding of default logrotate options 2016-07-05 20:38:39 -07:00
doc Update sphinx configuration 2016-07-12 16:55:28 +01:00
files IRR for rsyslog_client 2015-11-03 02:27:54 -06:00
meta Add CentOS7 support to rsyslog client 2016-06-01 13:45:14 -05:00
releasenotes Update sphinx configuration 2016-07-12 16:55:28 +01:00
tasks Allow overriding of default logrotate options 2016-07-05 20:38:39 -07:00
templates Allow overriding of default logrotate options 2016-07-05 20:38:39 -07:00
tests Allow overriding of default logrotate options 2016-07-05 20:38:39 -07:00
vars Add CentOS7 support to rsyslog client 2016-06-01 13:45:14 -05:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:22:56 +01:00
.gitreview New git dotfiles for independant repository 2015-11-25 17:29:32 +00:00
CONTRIBUTING.rst IRR for rsyslog_client 2015-11-03 02:27:54 -06:00
LICENSE IRR for rsyslog_client 2015-11-03 02:27:54 -06:00
README.rst DOC - Adopting the common role documentation pattern 2016-06-21 09:58:02 -04:00
manual-test.rc Add CentOS7 support to rsyslog client 2016-06-01 13:45:14 -05:00
other-requirements.txt Add CentOS7 support to rsyslog client 2016-06-01 13:45:14 -05:00
run_tests.sh Add CentOS7 support to rsyslog client 2016-06-01 13:45:14 -05:00
setup.cfg IRR for rsyslog_client 2015-11-03 02:27:54 -06:00
setup.py Updated from global requirements 2016-07-15 03:58:25 +00:00
test-requirements.txt Updated from global requirements 2016-07-15 03:58:25 +00:00
tox.ini Implement doc8 checks for docs 2016-07-13 12:58:12 +01:00

README.rst

OpenStack rsyslog client

Ansible role to deploy rsyslog for client use. This role will ship any and all logs discovered in the rsyslog_client_log_dir directory to any valid rsyslog target. The role was designed to be used by OpenStack-Ansible by leveraging multiple logging hosts via the rsyslog_all group. If that inventory group is not defined additional log shipping targets can be defined using rsyslog_client_user_defined_targets

Default Variables

../../defaults/main.yml

Required Variables

None

Example Playbook

- name: Install rsyslog
  hosts: rsyslog
  user: root
  roles:
    - role: "rsyslog_client"
      rsyslog_client_log_rotate_file: test_log_rotate
      rsyslog_client_log_dir: "/var/log"
      rsyslog_client_config_name: "99-test-rsyslog-client.conf"
      rsyslog_client_log_files:
        - /var/log/dmesg
        - /var/log/udev