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

Commit 3110340

Browse files
author
staticdev
committed
Update pyenv condition
1 parent acd4eb8 commit 3110340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
pyenv_owner: "{{ ansible_env.USER }}"
77
pyenv_path: "{{ ansible_env.HOME }}/pyenv"
88
pyenv_global: "{{ pyenv_global }}"
9-
pyenv_python_versions: "{{ pyenv_python_versions | default(omit, true) }}"
9+
pyenv_python_versions: "{{ pyenv_python_versions }}"
1010
pyenv_virtualenvs: []
11+
when: pyenv_python_versions is defined
1112

1213
- name: Ensure venv installed
1314
package:

0 commit comments

Comments
 (0)