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 64a4823c16

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')