suzuki-shunsuke.gvm
ansible-gvm
Ansible Role to install gvm
This role is based on the official gvm-installer.
Notice: GVM == Go (Not Groovy) Version Manager
This role is not related to Groovy enVironment Manager.
Requirements
- Git
Role Variables
Name | Required | Default | Description |
---|---|---|---|
gvm_root | No | $HOME/.gvm |
Path for GVM installation |
gvm_goroot | No | undefined |
GOROOT path for Go (optional) |
gvm_is_dependencies_installed | No | no | By default, build dependencies are not installed |
gvm_rc_path | No | "NOT ADD" | Configuration is not added by default |
gvm_repo | No | https://github.com/moovweb/gvm | Repository URL for GVM |
gvm_version | No | HEAD | Version of GVM to install |
gvm_update | No | yes | Whether to update GVM after installation |
gvm_darwin_build_dependencies | No | see defaults/main.yml | If gvm_is_dependencies_installed is "no," this is ignored |
gvm_redhat_build_dependencies | No | see defaults/main.yml | If gvm_is_dependencies_installed is "no," this is ignored |
gvm_debian_build_dependencies | No | see defaults/main.yml | If gvm_is_dependencies_installed is "no," this is ignored |
For information about build dependencies, see this link.
Dependencies
No dependencies.
Example Playbook
- hosts: servers
roles:
- role: suzuki-shunsuke.gvm
gvm_root: "{{ ansible_env.HOME }}/.ghq/github.com/moovweb/gvm"
gvm_is_dependencies_installed: yes
gvm_rc_path: "{{ ansible_env.HOME }}/.bashrc"
gvm_darwin_build_dependencies:
- readline
gvm_version: 1.0.22
gvm_update: no
Change Log
Check the Releases for updates.
See also
- suzuki-shunsuke.gvm-module: Ansible module to run
gvm
commands.
License
Installa
ansible-galaxy install suzuki-shunsuke.gvm
Licenza
mit
Download
642
Proprietario
Platform Engineer / OSS Developer / Go