Allow using connection: on the task level

This is the name of the setting on the play level, and the options.
Should be consistent.
pull/1826/merge
Daniel Hokka Zakrisson 12 years ago
parent e93ed2c167
commit 4555cdc49c

@ -97,7 +97,7 @@ class Task(object):
else:
self.action = ds.get('action', '')
self.delegate_to = ds.get('delegate_to', None)
self.transport = ds.get('transport', play.transport)
self.transport = ds.get('connection', ds.get('transport', play.transport))
# delegate_to can use variables
if not (self.delegate_to is None):

Loading…
Cancel
Save