From d5dd89a8f716bfba65156795fcadd8724328e8dd Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 22 Nov 2012 23:11:42 +0100 Subject: [PATCH] Allow specifying when: ... --- lib/ansible/playbook/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/task.py b/lib/ansible/playbook/task.py index 3e3393e95c..956c9eaee0 100644 --- a/lib/ansible/playbook/task.py +++ b/lib/ansible/playbook/task.py @@ -35,7 +35,7 @@ class Task(object): 'name', 'action', 'only_if', 'async', 'poll', 'notify', 'first_available_file', 'include', 'tags', 'register', 'ignore_errors', 'delegate_to', 'local_action', 'transport', 'sudo', 'sudo_user', - 'sudo_pass' + 'sudo_pass', 'when' ] def __init__(self, play, ds, module_vars=None):