From 4d48daff80ac9141b73dc53829bb020fde0076e9 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Sun, 6 Jan 2013 18:46:34 +0100 Subject: [PATCH] Actually allow using connection: on a task --- 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 e7bed0acd9d..79b05e364a6 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', 'when' + 'sudo_pass', 'when', 'connection' ] def __init__(self, play, ds, module_vars=None, additional_conditions=None):