mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -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
|
@ -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