Keep delegate_to so all auxiliary logic based on that works

parent 5bb0f690
...@@ -60,6 +60,7 @@ class Task(object): ...@@ -60,6 +60,7 @@ class Task(object):
# Only one of them is defined # Only one of them is defined
elif 'local_action' in ds: elif 'local_action' in ds:
self.action = ds.get('local_action', '') self.action = ds.get('local_action', '')
self.delegate_to = '127.0.0.1'
self.transport = 'local' self.transport = 'local'
else: else:
self.action = ds.get('action', '') self.action = ds.get('action', '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment