mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
template: expand path if metadata is in user home.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user