mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Ensure template arguments if complex are still properly templated
This commit is contained in:
parent
ca16a91da1
commit
fe8547cac0
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ class ActionModule(object):
|
||||||
if complex_args:
|
if complex_args:
|
||||||
options.update(complex_args)
|
options.update(complex_args)
|
||||||
options.update(utils.parse_kv(module_args))
|
options.update(utils.parse_kv(module_args))
|
||||||
|
options = utils.template(self.runner.basedir, options, inject)
|
||||||
|
module_args = self.runner._complex_args_hack(options, '')
|
||||||
|
|
||||||
source = options.get('src', None)
|
source = options.get('src', None)
|
||||||
dest = options.get('dest', None)
|
dest = options.get('dest', None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue