Merge branch 'master' of adellam/ansible-roles into master
This commit is contained in:
commit
6cb41c390e
|
@ -3,6 +3,7 @@ py3_env_install: False
|
|||
py3_ppa: 'ppa:deadsnakes/ppa'
|
||||
py3_env_version: 3.6
|
||||
py3_env_pkgs_state: present
|
||||
py3_pip_pkgs_state: present
|
||||
py3_env_site: False
|
||||
|
||||
py3_env_basic_pkgs:
|
||||
|
@ -12,3 +13,7 @@ py3_env_dpkg:
|
|||
- 'python{{ py3_env_version }}'
|
||||
- 'python{{ py3_env_version }}-venv'
|
||||
- 'python{{ py3_env_version }}-dev'
|
||||
|
||||
py3_env_pip_pkgs: []
|
||||
py3_env_versioned_pip_pkgs: []
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
shell: python{{ py3_env_version }} -m ensurepip && pip{{ py3_env_version }} install --upgrade pip setuptools wheel
|
||||
|
||||
- name: Install a list of pip packages
|
||||
pip: executable=pip{{ py3_env_version }} name={{ py3_env_pip_pkgs }} state=latest
|
||||
pip: executable=pip{{ py3_env_version }} name={{ py3_env_pip_pkgs }} state={{ py3_pip_pkgs_state }}
|
||||
|
||||
- name: Install a list of versioned pip packages
|
||||
pip: executable=pip{{ py3_env_version }} name={{ item.pkg }} version={{ item.version }}
|
||||
|
|
Loading…
Reference in New Issue