Skip to content

Commit 7ae17fb

Browse files
author
Dmitriy Rabotyagov
committed
Remove unnecessary test for pacemaker_corosync_use_logfile
1 parent f1be7a6 commit 7ae17fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/pacemaker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@
8383
file:
8484
path: /var/log/corosync
8585
state: directory
86-
when: pacemaker_corosync_use_logfile | bool is true
86+
when: pacemaker_corosync_use_logfile | bool
8787

8888
- name: Adds logrotate config for corosync
8989
template:
9090
src: corosync_logrotate.conf.j2
9191
dest: /etc/logrotate.d/corosync
9292
mode: "0644"
9393
owner: root
94-
when: pacemaker_corosync_use_logfile | bool is true
94+
when: pacemaker_corosync_use_logfile | bool
9595

9696
- name: Creates services directory
9797
file:

0 commit comments

Comments
 (0)