mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
(cherry picked from commit ddc989ec6d)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user