From c4c53d545a963d0b44f763a30b5c8845310a9675 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Mon, 30 Jul 2012 13:07:19 -0400 Subject: [PATCH] fix trace-creating error in apt module - also make the default setting actualy work --- library/apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/apt b/library/apt index 41705ce66e..bce0199f6e 100755 --- a/library/apt +++ b/library/apt @@ -164,7 +164,7 @@ def main(): install(module, p['package'], cache, default_release=p['default_release'], install_recommends=install_recommends,force=force_yes) elif p['state'] == 'removed': - remove(module, p['package'], cache, purge == 'yes') + remove(module, p['package'], cache, purge = p['purge']) # this is magic, see lib/ansible/module_common.py #<>