Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit 9280a42

Browse files
author
staticdev
committed
Default list of versions defined
1 parent 761fd4a commit 9280a42

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
install_pycharm: false
33
pycharm_flavor: pycharm-community
44
install_vscode: false
5+
pyenv_python_versions: ["3.9.5"]

tasks/main.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@
1414
pyenv_global: "{{ pyenv_global }}"
1515
pyenv_python_versions: "{{ pyenv_python_versions }}"
1616
pyenv_virtualenvs: []
17-
when: pyenv_python_versions is defined
18-
19-
- name: Install pyenv
20-
import_role:
21-
name: staticdev.pyenv
22-
vars:
23-
pyenv_owner: "{{ ansible_env.USER }}"
24-
pyenv_path: "{{ ansible_env.HOME }}/pyenv"
25-
pyenv_virtualenvs: []
26-
when: pyenv_python_versions is undefined
2717

2818
- name: Check if pipx is installed
2919
command: "{{ ansible_env.HOME }}/.local/bin/pipx --version"

0 commit comments

Comments
 (0)