diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2014-11-06 21:26:52 -0800 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2014-11-06 21:26:52 -0800 |
commit | 5a514ccddae85ccc5802eea8751401600e45c32f (patch) | |
tree | 7b9781ea71487166b452dff2fd04cc9d29eaf0ee /web_infrastructure | |
parent | 664858ec20630a65bbdedbe52b79bd4e61f6ceec (diff) | |
download | ansible-modules-extras-5a514ccddae85ccc5802eea8751401600e45c32f.tar.gz |
Move from md5 to sha1 to work on fips-140 enabled systems
Diffstat (limited to 'web_infrastructure')
-rw-r--r-- | web_infrastructure/jboss.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_infrastructure/jboss.py b/web_infrastructure/jboss.py index 94782356..65b44d23 100644 --- a/web_infrastructure/jboss.py +++ b/web_infrastructure/jboss.py @@ -113,7 +113,7 @@ def main(): changed = True if state == 'present' and deployed: - if module.md5(src) != module.md5(os.path.join(deploy_path, deployment)): + if module.sha1(src) != module.sha1(os.path.join(deploy_path, deployment)): os.remove(os.path.join(deploy_path, "%s.deployed"%(deployment))) shutil.copyfile(src, os.path.join(deploy_path, deployment)) deployed = False |