mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
e201a255d1
commit
5f83a6aeda
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ class PlayContext(Base):
|
||||||
if user_var in delegated_vars:
|
if user_var in delegated_vars:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
delegated_vars['ansible_user'] = None
|
delegated_vars['ansible_user'] = task.remote_user or self.remote_user
|
||||||
else:
|
else:
|
||||||
delegated_vars = dict()
|
delegated_vars = dict()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue