minor cosmetics

This commit is contained in:
Alessio Cassibba (x-drum)
2015-09-04 20:09:36 +02:00
parent bdf746fa01
commit 9c8bbec4ff
2 changed files with 12 additions and 11 deletions

View File

@@ -45,25 +45,26 @@ Example Playbook
remote_user: root
sudo: no
- roles:
- {{ role: rsyslog }}
- { role: rsyslog }
```
2) Install rsyslog, without default configuration and setup two different custom stanzas
```yaml
- hosts: all
remote_user: root
sudo: no
- vars:
vars:
rsyslog_default_config: False
roles:
- role: rsyslog
items:
- name: "20-iptables"
lines:
- ':msg, contains, "iptables" /var/log/iptables.log'
- '& ~'
- name: "30-dovecot"
lines:
- 'if $programname == 'dovecot' and $syslogseverity <= '6' then ~'
- '& ~'
- name: "20-iptables"
lines:
- ':msg, contains, "iptables" /var/log/iptables.log'
- '& ~'
- name: "30-dovecot"
lines:
- 'if $programname == "dovecot" and $syslogseverity <= "6" then ~'
- '& ~'
```
License

View File

@@ -1,6 +1,6 @@
---
galaxy_info:
author: Alessio Cassibba (x-drum)
author: "Alessio Cassibba (x-drum)"
description: rsyslog syslogd daemon configuration.
license: GPLv2
min_ansible_version: 1.8