force boolean evaluation

This commit is contained in:
Stoned Elipot 2018-07-25 19:10:31 +02:00
parent 74123647fe
commit ada2d65547
2 changed files with 2 additions and 2 deletions

View File

@ -223,5 +223,5 @@
file:
path: "{{ docker_base_path }}"
state: absent
when: cleanup_docker_base|default(True)
when: cleanup_docker_base|default(True)|bool
delegate_to: localhost

View File

@ -25,7 +25,7 @@
tag: "{{ awx_version }}"
state: absent
delegate_to: localhost
when: docker_remove_local_images|default(False)
when: docker_remove_local_images|default(False)|bool
- name: Tag and Push Container Images
block: