mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 08:22:52 +00:00
Adjust booleans in packaging modules. (#5154)
This commit is contained in:
parent
be2de15c66
commit
ddc989ec6d
38 changed files with 242 additions and 228 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue