From 54d8f0b048f362a49b0923c5790d5650850f9034 Mon Sep 17 00:00:00 2001 From: mariojmdavid Date: Tue, 30 Aug 2016 22:39:51 +0100 Subject: [PATCH] fix task conditional --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 953da4e..6484cad 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -58,11 +58,11 @@ - name: pip install pyopencl==2015.1 when disvis pip: name=pyopencl version=2015.1 state=present - when: {{ haddock_app }} == 'disvis' + when: haddock_app == "disvis" - name: pip install pyopencl when powerfit pip: name=pyopencl - when: {{ haddock_app }} == 'powerfit' + when: haddock_app == "powerfit" - name: pip install gpyfft and {{ haddock_app }} pip: name={{ item }} state=present