Fix boolean conditionals for Ansible 2.0 with git repo copies

Repository copies were failing on Ansible 2.0 due to the conditional
include containing an or statement with shorthand boolean true
statements. This apparently is problematic, and adding the longer
conditional expression worked as expected.

Additionally, this commit serves as a canary for an upcoming
python-ironicclient change listed as depends-on.

Change-Id: I51a863d270aae57e76b7397cb1b83c5dbd85f867
Depends-On: Ic77a86196d5bcd956f0a3ae517200824a4d70aa8
This commit is contained in:
Julia Kreger 2015-12-04 13:24:16 -05:00
parent 153320dfa0
commit fd36747653

View File

@ -18,4 +18,4 @@
when: ci_testing_zuul | bool == false and copy_from_local_path | bool == false
- name: "Copy from local path"
include: local_path.yaml
when: ci_testing_zuul | bool or copy_from_local_path | bool
when: ci_testing_zuul | bool == true or copy_from_local_path | bool == true