gano2018.ansible_anyenv
Install anyenv using Ansible on CentOS or Ubuntu
This is an Ansible role for installing anyenv on CentOS or Ubuntu.
Requirements
After running the playbook, refresh your bash profile with the command below:
$ exec $SHELL -l
Usage
Install multiple environments (like rbenv, pyenv, phpenv, etc.)
By default, this role installs only pyenv. If you want to install other environments, change the variable named "anyenv_install_envs" in defaults/main.yml.
Change the anyenv directory
By default, the anyenv folder is located at /opt/anyenv. If you define {{ user }}, the installation directory will change to /home/{{ user }}/.anyenv.