ansible-galaxy-pyenv
所属分类:DevOps
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2023-06-18 17:31:31
上 传 者:
sh-1993
说明: 平庸的银河角色,
(Ansible Galaxy role for pyenv,)
文件列表:
.travis.yml (526, 2023-06-18)
LICENSE (1078, 2023-06-18)
defaults/ (0, 2023-06-18)
defaults/main.yml (1538, 2023-06-18)
handlers/ (0, 2023-06-18)
handlers/main.yml (30, 2023-06-18)
meta/ (0, 2023-06-18)
meta/main.yml (2210, 2023-06-18)
tasks/ (0, 2023-06-18)
tasks/Darwin.yml (150, 2023-06-18)
tasks/Debian.yml (328, 2023-06-18)
tasks/RedHat.yml (487, 2023-06-18)
tasks/custom_facts.yml (677, 2023-06-18)
tasks/install.yml (2470, 2023-06-18)
tasks/main.yml (401, 2023-06-18)
templates/ (0, 2023-06-18)
templates/.pyenvrc.j2 (227, 2023-06-18)
templates/check-configure-options.py.j2 (233, 2023-06-18)
templates/pyenv_python_installations.fact.j2 (852, 2023-06-18)
test.yml (168, 2023-06-18)
test_update.yml (203, 2023-06-18)
tests/ (0, 2023-06-18)
tests/test_update_vars.yml (21, 2023-06-18)
vars/ (0, 2023-06-18)
vars/main.yml (4, 2023-06-18)
avanov.pyenv
============
[![Build Status](https://travis-ci.org/avanov/ansible-galaxy-pyenv.svg)](https://travis-ci.org/avanov/ansible-galaxy-pyenv)
Ansible Galaxy role for [pyenv](https://github.com/yyuu/pyenv) on Ubuntu / RedHat / OSX.
Install it with the following command:
```bash
$ 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/)
近期下载者:
相关文件:
收藏者: