Navigation Menu

Skip to content

Commit

Permalink
Default to enabled: True in rsyslog_pools.
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Mar 26, 2016
1 parent a03e044 commit a683342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Expand Up @@ -10,3 +10,6 @@ v0.1.0

- Fix deprecation warnings in Ansible 2.1.0. [ypid]

- Default to ``enabled: True`` in ``rsyslog_pools``.
Before this, an entry missing a ``enabled`` has been ignored. [ypid]

2 changes: 1 addition & 1 deletion tasks/pools.yml
Expand Up @@ -9,7 +9,7 @@
mode: '{{ item.mode | default("0644") }}'
backup: '{{ item.backup | default("no") }}'
with_items: '{{ rsyslog_pools }}'
when: (item.name|d() and item.enabled|d() == True)
when: (item.name|d() and item.enabled|d(True) == True)
notify: [ 'Restart rsyslogd' ]

- name: Disable rsyslog pools
Expand Down

0 comments on commit a683342

Please sign in to comment.