Skip to content

Commit

Permalink
comment out pyenv install step for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pypeaday committed Jun 6, 2024
1 parent 173effc commit c9a2774
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions ansible/playbooks/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,16 +183,17 @@
dest: "~/.pyenv"
when: not pyenv_installed.stat.exists

- name: Install pyenv
shell: |
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
# TODO: parameterize python version? What's the purpose of installing this one...
~/.pyenv/bin/pyenv install --skip-existing 3.10.12
pyenv global 3.10.12
# TODO: not sure what to do about pyenv with my devcontainer
when: false
# - name: Install pyenv
# shell: |
# #!/bin/bash
# export PYENV_ROOT="$HOME/.pyenv"
# export PATH="$PYENV_ROOT/bin:$PATH"
# eval "$(pyenv init -)"
# # TODO: parameterize python version? What's the purpose of installing this one...
# ~/.pyenv/bin/pyenv install --skip-existing 3.10.12
# pyenv global 3.10.12
# # TODO: not sure what to do about pyenv with my devcontainer
# when: false

- name: Ensure /opt/python-environments exists and is writable by vscode
become: true
Expand Down

0 comments on commit c9a2774

Please sign in to comment.