mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
Playbook refactoring -- work in progress.
This commit is contained in:
parent
cf9ddf3a30
commit
b9b53d1941
5 changed files with 306 additions and 341 deletions
|
@ -254,7 +254,7 @@ def varReplace(raw, vars):
|
|||
|
||||
return ''.join(done)
|
||||
|
||||
def template(text, vars, setup_cache, no_engine=True):
|
||||
def template(text, vars, setup_cache=None, no_engine=True):
|
||||
''' run a text buffer through the templating engine '''
|
||||
vars = vars.copy()
|
||||
vars['hostvars'] = setup_cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue