From 9bcc18d17b72419d8c2d133e22233bb7c8b83b4b Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Tue, 31 Jul 2012 09:56:36 -0400 Subject: [PATCH] Apt module: add update-cache as alias of update_cache This will ensure users of previous versions of this module don't have their playbooks break. --- library/apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/apt b/library/apt index 38ab7a7627..319f51abf0 100755 --- a/library/apt +++ b/library/apt @@ -109,7 +109,7 @@ def main(): module = AnsibleModule( argument_spec = dict( state = dict(default='installed', choices=['installed', 'latest', 'removed']), - update_cache = dict(default='no', choices=['yes', 'no']), + update_cache = dict(default='no', choices=['yes', 'no'], aliases=['update-cache']), purge = dict(default='no', choices=['yes', 'no']), package = dict(default=None, aliases=['pkg', 'name']), default_release = dict(default=None, aliases=['default-release']),