Adjust booleans in packaging modules. (#5154)

This commit is contained in:
Felix Fontein 2022-08-24 19:59:13 +02:00 committed by GitHub
parent be2de15c66
commit ddc989ec6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 242 additions and 228 deletions

View file

@ -51,12 +51,12 @@ options:
description:
- update homebrew itself first.
type: bool
default: no
default: false
upgrade_all:
description:
- upgrade all homebrew packages.
type: bool
default: no
default: false
aliases: ['upgrade']
install_options:
description:
@ -91,18 +91,18 @@ EXAMPLES = '''
- community.general.homebrew:
name: foo
state: present
update_homebrew: yes
update_homebrew: true
# Update homebrew first and upgrade formula foo to latest available with 'brew' in default path
- community.general.homebrew:
name: foo
state: latest
update_homebrew: yes
update_homebrew: true
# Update homebrew and upgrade all packages
- community.general.homebrew:
update_homebrew: yes
upgrade_all: yes
update_homebrew: true
upgrade_all: true
# Miscellaneous other examples
- community.general.homebrew:
@ -133,7 +133,7 @@ EXAMPLES = '''
- name: Use ignore-pinned option while upgrading all
community.general.homebrew:
upgrade_all: yes
upgrade_all: true
upgrade_options: ignore-pinned
'''