gvm

ansible-gvm

Build Status GitHub last commit License

Ansible Role to install gvm

This role is based on the official gvm-installer.

Notice: GVM == Go (Not Groovy) Version Manager

This role has nothing to do with Groovy enVironment Manager.

Requirements

  • Git

Role Variables

name required default description
gvm_root no $HOME/.gvm
gvm_goroot no undefined
gvm_is_dependencies_installed no no By default build dependencies are not installed
gvm_rc_path no "NOT ADD" By default configuration is not added
gvm_repo no https://github.com/moovweb/gvm
gvm_version no HEAD
gvm_update no yes
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

About build dependencies, see also here.

Dependencies

Nothing.

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

See Releases.

See also

License

MIT

About

Install gvm

Install
ansible-galaxy install suzuki-shunsuke/ansible-gvm
GitHub repository
License
mit
Downloads
628
Owner
Platform Engineer / OSS Developer / Go