bluk / ansible-role-goenv

An Ansible role to install goenv.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-role-goenv

Build Status

An Ansible role to install goenv.

Requirements

  1. Add goenv to your $PATH after install.
echo 'export PATH="$HOME/.goenv/bin:$PATH"' >> ~/.bash_profile
  1. Run the following:
~/.goenv/bin/goenv init

Role Variables

  • goenv_install_path - The path to install goenv.

  • goenv_git_url - The git URL to clone goenv from.

  • goenv_git_update - If the cloned goenv git repository should be updated.

Dependencies

No dependencies.

Example Playbook

- hosts: servers
  roles:
     - { role: bluk.goenv }

License

Apache-2.0

About

An Ansible role to install goenv.

License:Apache License 2.0