Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
/ ansible-role-goenv Public archive

An Ansible role to install goenv.

License

Notifications You must be signed in to change notification settings

bluk/ansible-role-goenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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