mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 22:30:04 -07:00
Clarify update-cache
This commit is contained in:
parent
6c99039a9b
commit
806fdf0fbe
3 changed files with 15 additions and 3 deletions
|
@ -53,7 +53,8 @@ Manages apt-packages (such as for Debian/Ubuntu).
|
|||
*update-cache*:
|
||||
|
||||
* Whether apt cache must be updated prior operation. Optional, and can be
|
||||
'yes', or 'no'. The default is 'no'.
|
||||
'yes', or 'no'. The default is 'no'. This can be done as the part of a
|
||||
package operation or as a seperate step.
|
||||
|
||||
*purge*:
|
||||
|
||||
|
@ -62,6 +63,7 @@ Manages apt-packages (such as for Debian/Ubuntu).
|
|||
|
||||
Example action from Ansible :doc:`playbooks`::
|
||||
|
||||
apt pkg=foo update-cache=yes
|
||||
apt pkg=foo ensure=removed
|
||||
apt pkg=foo ensure=installed
|
||||
apt pkg=foo ensure=latest update-cache=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue