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,15 +45,16 @@ 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"
@@ -62,7 +63,7 @@ Example Playbook
- '& ~' - '& ~'
- name: "30-dovecot" - name: "30-dovecot"
lines: lines:
- 'if $programname == 'dovecot' and $syslogseverity <= '6' then ~' - 'if $programname == "dovecot" and $syslogseverity <= "6" then ~'
- '& ~' - '& ~'
``` ```

View File

@@ -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