mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 16:04:09 -07:00
(cherry picked from commit ddc989ec6d
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
c5ff49db56
commit
5a2e7f9b1b
38 changed files with 242 additions and 228 deletions
|
@ -49,27 +49,27 @@ options:
|
|||
description:
|
||||
- Update repository database. Can be run with other steps or on it's own.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
upgrade:
|
||||
description:
|
||||
- Upgrade main packages to their newer versions
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
full_upgrade:
|
||||
description:
|
||||
- Upgrade all packages to their newer versions
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
clean:
|
||||
description:
|
||||
- Clean packages cache
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
force:
|
||||
description:
|
||||
- Force package reinstall
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
|
@ -86,7 +86,7 @@ EXAMPLES = '''
|
|||
- name: Update cache and install foo package
|
||||
community.general.pkgin:
|
||||
name: foo
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
- name: Remove package foo
|
||||
community.general.pkgin:
|
||||
|
@ -100,24 +100,24 @@ EXAMPLES = '''
|
|||
|
||||
- name: Update repositories as a separate step
|
||||
community.general.pkgin:
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
|
||||
- name: Upgrade main packages (equivalent to pkgin upgrade)
|
||||
community.general.pkgin:
|
||||
upgrade: yes
|
||||
upgrade: true
|
||||
|
||||
- name: Upgrade all packages (equivalent to pkgin full-upgrade)
|
||||
community.general.pkgin:
|
||||
full_upgrade: yes
|
||||
full_upgrade: true
|
||||
|
||||
- name: Force-upgrade all packages (equivalent to pkgin -F full-upgrade)
|
||||
community.general.pkgin:
|
||||
full_upgrade: yes
|
||||
force: yes
|
||||
full_upgrade: true
|
||||
force: true
|
||||
|
||||
- name: Clean packages cache (equivalent to pkgin clean)
|
||||
community.general.pkgin:
|
||||
clean: yes
|
||||
clean: true
|
||||
'''
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue