aboutsummaryrefslogtreecommitdiffstats
path: root/docker/ansible/roles/config_files/tasks/mcelog.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker/ansible/roles/config_files/tasks/mcelog.yml')
-rw-r--r--docker/ansible/roles/config_files/tasks/mcelog.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/ansible/roles/config_files/tasks/mcelog.yml b/docker/ansible/roles/config_files/tasks/mcelog.yml
index 49bbec93..ac14f80c 100644
--- a/docker/ansible/roles/config_files/tasks/mcelog.yml
+++ b/docker/ansible/roles/config_files/tasks/mcelog.yml
@@ -33,7 +33,7 @@
- name: build mcelog from sources if not in package
import_tasks: make_mcelog.yml
- when: mcelog_present|failed and install_mcelog|default(false)|bool
+ when: (mcelog_present is failed) and (install_mcelog|default(false)|bool)
tags:
- mcelogs
@@ -73,6 +73,6 @@
template:
src: mcelog.conf.j2
dest: "{{ config_file_dir }}/mcelog.conf"
- when: mcelog_running|succeeded and mcelog_exists|succeeded and mcelog_client_exists|succeeded
+ when: (mcelog_running is succeeded) and (mcelog_exists is succeeded) and (mcelog_client_exists is succeeded)
tags:
- - mcelogs
+ - mcelogs