diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2014-03-18 22:39:45 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2014-05-24 09:28:45 -0400 |
commit | c24956032d0e5934554c57b60a7ecd4593915dc8 (patch) | |
tree | 3aec169b204f2b8dd13e999f1bfa686e27bd3704 /library/network | |
parent | 3caea2e89025a38c0048e202336526072212e2f2 (diff) | |
download | ansible-c24956032d0e5934554c57b60a7ecd4593915dc8.tar.gz |
unified calls to fs function vs duplicate functions for file and
directory
Diffstat (limited to 'library/network')
-rw-r--r-- | library/network/get_url | 2 | ||||
-rw-r--r-- | library/network/uri | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/network/get_url b/library/network/get_url index 132c8553eb..e2384e4ebd 100644 --- a/library/network/get_url +++ b/library/network/get_url @@ -293,7 +293,7 @@ def main(): module.params['path'] = dest file_args = module.load_file_common_arguments(module.params) file_args['path'] = dest - changed = module.set_file_attributes_if_different(file_args, changed) + changed = module.set_fs_attributes_if_different(file_args, changed) # Mission complete module.exit_json(url=url, dest=dest, src=tmpsrc, md5sum=md5sum_src, diff --git a/library/network/uri b/library/network/uri index 55fd34d0d0..8d62463df7 100644 --- a/library/network/uri +++ b/library/network/uri @@ -414,7 +414,7 @@ def main(): module.params['path'] = dest file_args = module.load_file_common_arguments(module.params) file_args['path'] = dest - changed = module.set_file_attributes_if_different(file_args, changed) + changed = module.set_fs_attributes_if_different(file_args, changed) resp['path'] = dest else: changed = False |