diff --git a/library/apt b/library/apt index 41705ce66ea..1824b3c05d1 100755 --- a/library/apt +++ b/library/apt @@ -128,7 +128,7 @@ def main(): p = module.params if p['package'] is None and p['update_cache'] != 'yes': - module.fail_json(msg='pkg=name and/or update-cache=yes is required') + module.fail_json(msg='pkg=name and/or update_cache=yes is required') install_recommends = (p['install_recommends'] == 'yes')