1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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
This commit is contained in:
Dag Wieers 2017-03-02 07:22:33 +01:00 committed by Matt Davis
parent 868d19b509
commit 17a39e88a5

View file

@ -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
win_chocolatey:
name: git
state: absent
# Install git from specified repository
win_chocolatey:
name: git
source: https://someserver/api/v2/
# Uninstall git
win_chocolatey:
name: git
state: absent
'''