From 85393ae446425a0fd70cee4af184b82f4a8a6d01 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 19 Mar 2018 14:57:45 +0100 Subject: [PATCH] Fix: When should not include templating Signed-off-by: Knut Ahlers --- tasks/act.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/act.yaml b/tasks/act.yaml index fc7064d..dcf40e0 100644 --- a/tasks/act.yaml +++ b/tasks/act.yaml @@ -4,7 +4,7 @@ command: '{{ item.pre_command.command }}' args: chdir: '{{ item.pre_command.chdir | default(item.dest) }}' - when: '{{ item.pre_command is defined }}' + when: item.pre_command is defined - name: Checkout git repo git: @@ -19,6 +19,6 @@ command: '{{ item.post_command.command }}' args: chdir: '{{ item.post_command.chdir | default(item.dest) }}' - when: '{{ item.post_command is defined and git_checkout.changed }}' + when: item.post_command is defined and git_checkout.changed ...