From 3b218fd0dbd1f45440165becadf4cdfce4140d1d Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Fri, 29 Mar 2019 19:03:53 +0000 Subject: [PATCH] Fix conditionals in CI playbook These were not templated, so always evaluated to true. This shouldn't be causing any issues. Change-Id: I7b8e407e688ba201c4f7d1a94bbd41af0918e7df --- tests/run.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run.yml b/tests/run.yml index 9c9ea9cd6f..6b6d8eb51b 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -89,15 +89,15 @@ # nova-compute.conf - src: "tests/templates/nova-compute-overrides.j2" dest: /etc/kolla/config/nova/nova-compute.conf - when: scenario != "bifrost" + when: "{{ scenario != 'bifrost' }}" # ceph.conf - src: "tests/templates/ceph-overrides.j2" dest: /etc/kolla/config/ceph.conf - when: "{{ 'ceph' in scenario }}" + when: "{{ is_ceph }}" # bifrost/dib.yml - src: "tests/templates/bifrost-dib-overrides.j2" dest: /etc/kolla/config/bifrost/dib.yml - when: scenario == "bifrost" + when: "{{ scenario == 'bifrost' }}" - src: "tests/templates/ironic-overrides.j2" dest: /etc/kolla/config/ironic.conf when: "{{ scenario == 'ironic' }}"