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

Template the final_environment value in _compute_environment_string()

Fixes #13123
This commit is contained in:
James Cammarata 2015-11-17 15:37:18 -05:00
parent f5eca34fe4
commit 9b9fb51d9d

View file

@ -160,6 +160,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
# these environment settings should not need to merge sub-dicts # these environment settings should not need to merge sub-dicts
final_environment.update(environment) final_environment.update(environment)
final_environment = self._templar.template(final_environment)
return self._connection._shell.env_prefix(**final_environment) return self._connection._shell.env_prefix(**final_environment)
def _early_needs_tmp_path(self): def _early_needs_tmp_path(self):