mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Adjust booleans in packaging modules. (#5154)
This commit is contained in:
@@ -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
|
||||
'''
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user