From d0c78bdc83ce31ef26c19e64e50fdf66adf2c869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20P=C5=82onka?= Date: Wed, 18 Sep 2013 21:07:25 +0200 Subject: [PATCH] using AIX 'csum' command for generating MD5 checksums --- lib/ansible/runner/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 4cd904e521..4d33698e30 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -737,7 +737,8 @@ class Runner(object): "(/usr/bin/digest -a md5 %s 2>/dev/null)" % path, # Solaris 10+ "(/sbin/md5 -q %s 2>/dev/null)" % path, # Freebsd "(/usr/bin/md5 -n %s 2>/dev/null)" % path, # Netbsd - "(/bin/md5 -q %s 2>/dev/null)" % path # Openbsd + "(/bin/md5 -q %s 2>/dev/null)" % path, # Openbsd + "(/usr/bin/csum -h MD5 %s 2>/dev/null)" % path # AIX ] cmd = " || ".join(md5s)