mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add separate step update_cache example
This commit is contained in:
parent
c695aa2d6a
commit
c45b54c1cf
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ examples:
|
||||||
description: Install latest version of C(openjdk-6-jdk) ignoring C(install-reccomends)
|
description: Install latest version of C(openjdk-6-jdk) ignoring C(install-reccomends)
|
||||||
- code: "apt: upgrade=dist"
|
- code: "apt: upgrade=dist"
|
||||||
description: Update all packages to the latest version
|
description: Update all packages to the latest version
|
||||||
|
- code: "apt: update_cache=yes"
|
||||||
|
description: Run the equivalent of C(apt-get update) as a separate step
|
||||||
requirements: [ python-apt, aptitude ]
|
requirements: [ python-apt, aptitude ]
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue