win_chocolatey: Add example to upgrade all installed software (#22167)

Add a missing example on how to upgrade all installed software using win_chocolatey.

This fixes #21559
pull/22182/head
Dag Wieers 8 years ago committed by Matt Davis
parent 868d19b509
commit 17a39e88a5

@ -106,19 +106,25 @@ EXAMPLES = r'''
# Install git
win_chocolatey:
name: git
state: present
# Upgrade installed packages
win_chocolatey:
name: all
state: latest
# Install notepadplusplus version 6.6
win_chocolatey:
name: notepadplusplus.install
version: '6.6'
# Uninstall git
# Install git from specified repository
win_chocolatey:
name: git
state: absent
source: https://someserver/api/v2/
# Install git from specified repository
# Uninstall git
win_chocolatey:
name: git
source: https://someserver/api/v2/
state: absent
'''

Loading…
Cancel
Save