Ensure boolean is cast to bool

This will ensure all potential ansible accepted boolean operators are
trapped and handled correctly.

Change-Id: Ifbc293860cc81c0c689b127b2da8930f557a6ad5
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
Kevin Carter 2020-01-27 13:47:33 -06:00
parent f9ce0a3205
commit f798a3c9c3
No known key found for this signature in database
GPG Key ID: CE94BD890A47B20A

View File

@ -19,7 +19,8 @@
# much validation in case things failed in the middle.
- name: "Disable systemd resources for {{ item }}"
when: tripleo_container_manage_systemd_teardown
when:
- tripleo_container_manage_systemd_teardown | bool
block:
- name: "Remove systemd healthcheck for {{ item }}"
block: