template: expand path if metadata is in user home.

reviewable/pr18780/r1
Jeroen Hoekx 13 years ago
parent f2d9169672
commit 37e18dfb13

@ -48,6 +48,7 @@ for x in items:
source = params['src']
dest = params['dest']
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

Loading…
Cancel
Save