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

Templating neccessary here.

This commit is contained in:
Michael DeHaan 2012-07-23 21:10:16 -04:00
parent fdf14ec7ab
commit 479f8b8c26

View file

@ -684,7 +684,7 @@ class Runner(object):
if module_common.REPLACER in module_data:
is_new_style=True
module_data = module_data.replace(module_common.REPLACER, module_common.MODULE_COMMON)
encoded_args = base64.b64encode(self.module_args)
encoded_args = base64.b64encode(utils.template(self.module_args, inject))
module_data = module_data.replace(module_common.REPLACER_ARGS, encoded_args)
# use the correct python interpreter for the host