DEPRECATED, Role rsyslog_client for OpenStack-Ansible
Go to file
Jimmy McCrory 6c1f43a4cc Allow overriding of default logrotate options
Two variables have been added, rsyslog_client_log_rotate_options
and rsyslog_client_log_rotate_scripts, to allow deployers to override
and set logrotate config options as they wish.

The os_aggregate_storage.j2 template has also been renamed to
logrotate.j2 to better fit its purpose.

Change-Id: If7538fd2409f3583f22209868f538e01796813c2
2016-07-05 20:38:39 -07:00
defaults Allow overriding of default logrotate options 2016-07-05 20:38:39 -07:00
doc DOC - Adopting the common role documentation pattern 2016-06-21 09:58:02 -04: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 Allow overriding of default logrotate options 2016-07-05 20:38:39 -07: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 IRR for rsyslog_client 2015-11-03 02:27:54 -06:00
test-requirements.txt Pin test-requirements to match OpenStack requirements 2016-06-17 12:37:23 +01:00
tox.ini Add human readable logging callback plugin for func testing 2016-06-20 12:06:20 -04: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