1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #4165 from jerm/devel

dest in s3 module does not work with ~username expansion for home directories
This commit is contained in:
James Cammarata 2013-09-25 14:54:11 -07:00
commit 80524a8f2b

View file

@ -261,7 +261,7 @@ def main():
bucket = module.params.get('bucket') bucket = module.params.get('bucket')
obj = module.params.get('object') obj = module.params.get('object')
src = module.params.get('src') src = module.params.get('src')
dest = module.params.get('dest') dest = os.path.expanduser(module.params.get('dest'))
mode = module.params.get('mode') mode = module.params.get('mode')
expiry = int(module.params['expiry']) expiry = int(module.params['expiry'])
s3_url = module.params.get('s3_url') s3_url = module.params.get('s3_url')