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:
parent
5bb0f6908b
commit
dd11b01350
1 changed files with 1 additions and 0 deletions
|
@ -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', '')
|
||||||
|
|
Loading…
Reference in a new issue