aboutsummaryrefslogtreecommitdiffstats
path: root/docker/ansible/roles/config_files/tasks/ipmi.yml
diff options
context:
space:
mode:
authorEmma Foley <efoley@redhat.com>2020-11-10 22:55:12 +0000
committerEmma Foley <efoley@redhat.com>2020-11-11 12:29:16 +0000
commit6bab7e8ab349393775524ae6fb4ecd8e74c28592 (patch)
tree347074d318f8b4c8ab40863af78c897f6617a59a /docker/ansible/roles/config_files/tasks/ipmi.yml
parent7a21d1aed16641c134236db7a7ceee2277efd67f (diff)
[ansible] remove deprecated filters
The succeeded and failed checks are no longer supported for use as filters. Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: If5bdae81b34c1e63d7a2bda349beee5823e2550d
Diffstat (limited to 'docker/ansible/roles/config_files/tasks/ipmi.yml')
-rw-r--r--docker/ansible/roles/config_files/tasks/ipmi.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/ansible/roles/config_files/tasks/ipmi.yml b/docker/ansible/roles/config_files/tasks/ipmi.yml
index c7359fbf..558d5393 100644
--- a/docker/ansible/roles/config_files/tasks/ipmi.yml
+++ b/docker/ansible/roles/config_files/tasks/ipmi.yml
@@ -31,7 +31,7 @@
command: "modprobe ipmi_devintf"
register: ipmi_devintf
ignore_errors: true
- when: ipmi_devintf|failed and insert_ipmi_modules|default(false)|bool
+ when: (ipmi_devintf is failed) and (insert_ipmi_modules|default(false)|bool)
tags:
- ipmi
@@ -39,7 +39,7 @@
command: "modprobe ipmi_si"
register: ipmi_devsi
ignore_errors: true
- when: ipmi_devsi|failed and insert_ipmi_modules|default(false)|bool
+ when: (ipmi_devsi is failed) and (insert_ipmi_modules|default(false)|bool)
tags:
- ipmi
@@ -55,7 +55,7 @@
template:
src: ipmi.conf.j2
dest: "{{ config_file_dir }}/0_ipmi.conf"
- when: ipmi0_exists|succeeded and ipmi_devintf|succeeded and ipmi_devsi|succeeded
+ when: (ipmi0_exists is succeeded) and (ipmi_devintf is succeeded) and (ipmi_devsi is succeeded)
tags:
- ipmi