Adjust booleans in packaging modules. (#5154) (#5169)

(cherry picked from commit ddc989ec6d)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-08-24 20:46:30 +02:00 committed by GitHub
parent c5ff49db56
commit 5a2e7f9b1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 242 additions and 228 deletions

View file

@ -45,7 +45,7 @@ options:
- Only applies if state is C(present). If set removes any gems on the
target host that are not in the gemfile
type: bool
default: 'no'
default: false
gemfile:
type: path
description:
@ -55,19 +55,19 @@ options:
description:
- If set only installs gems from the cache on the target host
type: bool
default: 'no'
default: false
deployment_mode:
description:
- Only applies if state is C(present). If set it will install gems in
./vendor/bundle instead of the default location. Requires a Gemfile.lock
file to have been created prior
type: bool
default: 'no'
default: false
user_install:
description:
- Only applies if state is C(present). Installs gems in the local user's cache or for all users
type: bool
default: 'yes'
default: true
gem_path:
type: path
description:
@ -106,7 +106,7 @@ EXAMPLES = '''
- name: Install gems into ./vendor/bundle
community.general.bundler:
state: present
deployment_mode: yes
deployment_mode: true
- name: Install gems using a Gemfile in another directory
community.general.bundler: