gem
Collection: community.general
Full Name: parallax.community.general.gem
Aliases: community.general.gem, gem
Synopsis
Manage gem
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | The name of the gem to be managed | |
| state | string | present | The desired state of the gem (present, absent, latest) | |
| version | string | Version of the gem to be installed | ||
| user_install | bool | true | Install gem in user’s local gems directory | |
| include_dependencies | bool | true | Whether to include dependencies | |
| repository | string | The repository from which the gem will be installed | ||
| executable | string | gem | Override the path to the gem executable | |
| pre_release | bool | false | Allow installation of pre-release versions | |
| force | bool | false | Force gem to install, bypassing dependency checks |
Example
- name: Example gem task
gem:
name: <your_name>