All Projects → avanov → ansible-galaxy-pyenv

avanov / ansible-galaxy-pyenv

Licence: MIT license
Ansible Galaxy role for pyenv

Programming Languages

shell
77523 projects
Jinja
831 projects

Projects that are alternatives of or similar to ansible-galaxy-pyenv

ansible-role-jitsi-meet
Ansible role to install & configure Jitsi Meet
Stars: ✭ 39 (-30.36%)
Mutual labels:  ansible-role
pyenv-pyright
Setup a pyenv virtualenv for microsoft pyright in the pyrightconfig.json config file
Stars: ✭ 51 (-8.93%)
Mutual labels:  pyenv
ansible-role-dotnet-core
Ansible Role - .NET Core for Ubuntu/RHEL/CentOS https://galaxy.ansible.com/ocha/dotnet-core
Stars: ✭ 24 (-57.14%)
Mutual labels:  ansible-role
pythonfinder
PythonFinder: Cross Platform Search Tool for Finding Pythons
Stars: ✭ 30 (-46.43%)
Mutual labels:  pyenv
jira role
Ansible role to install Atlassian JIRA
Stars: ✭ 13 (-76.79%)
Mutual labels:  ansible-role
ansible-galaxy-tools
An Ansible role for automated installation of tools from a Tool Shed into Galaxy.
Stars: ✭ 14 (-75%)
Mutual labels:  ansible-role
ansible-role-containerd
Ansible Role - containerd.io
Stars: ✭ 45 (-19.64%)
Mutual labels:  ansible-role
ansible-docker
Enter description of Ansible role
Stars: ✭ 14 (-75%)
Mutual labels:  ansible-role
pyenv-win
pyenv for Windows. pyenv is a simple python version management tool. It lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.
Stars: ✭ 1,815 (+3141.07%)
Mutual labels:  pyenv
wimpy.deploy
Ansible role to automate immutable infrastructure scheduling one docker container on one EC2 instance
Stars: ✭ 21 (-62.5%)
Mutual labels:  ansible-role
ansible-role-rabbitmq
Ansible Role - RabbitMQ
Stars: ✭ 49 (-12.5%)
Mutual labels:  ansible-role
ansible-openwrt
Ansible collection to configure your OpenWrt devices more quickly and automatically (without Python)
Stars: ✭ 34 (-39.29%)
Mutual labels:  ansible-role
ansible-role-mysql
An Ansible role that installs MySQL or MariaDB
Stars: ✭ 20 (-64.29%)
Mutual labels:  ansible-role
ansible-bootstrap-server
the bare essentials when you spin up a server
Stars: ✭ 14 (-75%)
Mutual labels:  ansible-role
ansible-role-virtualenv
Ansible role to create and update a Python virtualenv.
Stars: ✭ 22 (-60.71%)
Mutual labels:  ansible-role
bedrock-site-protect
Ansible role: Add htpasswd protection to Trellis (Bedrock-Ansible) WordPress sites.
Stars: ✭ 79 (+41.07%)
Mutual labels:  ansible-role
ansible-role-hidden-service
Ansible role to install & maintain Tor Hidden Services
Stars: ✭ 28 (-50%)
Mutual labels:  ansible-role
pyenv-mode-auto
Automatically activates pyenv version within Emacs if .python-version file exists.
Stars: ✭ 23 (-58.93%)
Mutual labels:  pyenv
ansible-role-redmine
Ansible Role To Install Redmine
Stars: ✭ 17 (-69.64%)
Mutual labels:  ansible-role
ansible-role-golang
Ansible role for installing the Go language SDK
Stars: ✭ 46 (-17.86%)
Mutual labels:  ansible-role

avanov.pyenv

Build Status

Ansible Galaxy role for pyenv on Ubuntu / RedHat / OSX.

Install it with the following command:

$ ansible-galaxy install avanov.pyenv

Requirements

None

Role Variables

Here is the list of all variables and their default values:

  • pyenv_env: "user" (should be either "user" or "system")
  • pyenv_path: "{% if pyenv_env == 'user' %}{{ ansible_env.HOME }}/pyenv{% else %}/usr/local/pyenv{% endif %}"
  • pyenv_owner: "{{ ansible_env.USER }}"
  • pyenv_python_versions: ["3.4.1"]
  • pyenv_virtualenvs: [{ venv_name: "latest", py_version: "3.4.1" }]
  • pyenv_global: "3.4.1"
  • pyenv_update_git_install: no
  • pyenv_enable_autocompletion: no
  • pyenv_setting_path: "{% if pyenv_env == 'user' %}~/.bashrc{% else %}/etc/profile.d/pyenv.sh{% endif %}"

Dependencies

None

Example Playbook

- hosts: servers
  roles:
     - role: avanov.pyenv
       pyenv_path: "{{ home }}/pyenv"
       pyenv_owner: "{{ instance_owner }}"
       pyenv_global: "3.6.5"
       pyenv_update_git_install: no
       pyenv_enable_autocompletion: no
       pyenv_python_versions:
         - "3.6.5"
         - "3.4.1"
         - "2.7.8"
       pyenv_virtualenvs:
         - venv_name: "latest_v3"
           py_version: "3.4.1"

         - venv_name: "latest_v2"
           py_version: "2.7.8"

License

MIT

Author Information

Maxim Avanov (https://maximavanov.com/)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].