From 7d9eb14b2a968774f47cb2a515900b159675ef58 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Sun, 9 Jun 2013 20:03:28 +0000 Subject: [PATCH] allow apt-key module to work with binary key --- packaging/apt_key | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/apt_key b/packaging/apt_key index de4ada8c399..d996a61a953 100644 --- a/packaging/apt_key +++ b/packaging/apt_key @@ -112,7 +112,7 @@ def download_key(module, url): def add_key(module, key): cmd = "apt-key add -" - (rc, out, err) = module.run_command(cmd, data=key, check_rc=True) + (rc, out, err) = module.run_command(cmd, data=key, check_rc=True, binary_data=True) return True def remove_key(module, key_id):