1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Keep delegate_to so all auxiliary logic based on that works

This commit is contained in:
Daniel Hokka Zakrisson 2012-09-17 20:28:14 +02:00
parent 5bb0f6908b
commit dd11b01350

View file

@ -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', '')