mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix typo in apt error message: update-cache -> update_cache
The apt parameter changed from update-cache to update_cache, but the error message still mentioned update-cache
This commit is contained in:
parent
487c826700
commit
a9c2e597ac
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue