This commit is contained in:
Will Szumski 2023-07-04 15:16:29 +02:00 committed by GitHub
commit 5bcf6158fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,6 +346,7 @@ class ActionModule(ActionBase):
user = C.DEFAULT_REMOTE_USER
else:
user = task_vars.get('ansible_user') or self._play_context.remote_user
user = self._templar.template(user)
if self._templar is not None:
user = self._templar.template(user)