Commit 9e0b7ee6 by Jeroen Hoekx

template: expand path if metadata is in user home.

parent da6cb1ca
......@@ -47,7 +47,8 @@ for x in items:
source = params['src']
dest = params['dest']
metadata = params.get('metadata', '/etc/ansible/setup')
metadata = params.get('metadata', '/etc/ansible/setup')
metadata = os.path.expanduser(metadata)
module_vars = params.get('vars')
# raise an error if there is no template metadata
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment