You've already forked ansible-role-rsyslog
minor cosmetics
This commit is contained in:
21
README.md
21
README.md
@@ -45,25 +45,26 @@ Example Playbook
|
|||||||
remote_user: root
|
remote_user: root
|
||||||
sudo: no
|
sudo: no
|
||||||
- roles:
|
- roles:
|
||||||
- {{ role: rsyslog }}
|
- { role: rsyslog }
|
||||||
```
|
```
|
||||||
2) Install rsyslog, without default configuration and setup two different custom stanzas
|
2) Install rsyslog, without default configuration and setup two different custom stanzas
|
||||||
```yaml
|
```yaml
|
||||||
- hosts: all
|
- hosts: all
|
||||||
remote_user: root
|
remote_user: root
|
||||||
sudo: no
|
sudo: no
|
||||||
- vars:
|
vars:
|
||||||
rsyslog_default_config: False
|
rsyslog_default_config: False
|
||||||
|
roles:
|
||||||
- role: rsyslog
|
- role: rsyslog
|
||||||
items:
|
items:
|
||||||
- name: "20-iptables"
|
- name: "20-iptables"
|
||||||
lines:
|
lines:
|
||||||
- ':msg, contains, "iptables" /var/log/iptables.log'
|
- ':msg, contains, "iptables" /var/log/iptables.log'
|
||||||
- '& ~'
|
- '& ~'
|
||||||
- name: "30-dovecot"
|
- name: "30-dovecot"
|
||||||
lines:
|
lines:
|
||||||
- 'if $programname == 'dovecot' and $syslogseverity <= '6' then ~'
|
- 'if $programname == "dovecot" and $syslogseverity <= "6" then ~'
|
||||||
- '& ~'
|
- '& ~'
|
||||||
```
|
```
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Alessio Cassibba (x-drum)
|
author: "Alessio Cassibba (x-drum)"
|
||||||
description: rsyslog syslogd daemon configuration.
|
description: rsyslog syslogd daemon configuration.
|
||||||
license: GPLv2
|
license: GPLv2
|
||||||
min_ansible_version: 1.8
|
min_ansible_version: 1.8
|
||||||
|
|||||||
Reference in New Issue
Block a user