trying to fix ansible pythons
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
whoami
|
whoami
|
||||||
|
|
||||||
sudo -i
|
sudo -i
|
||||||
|
source /root/.bashrc
|
||||||
|
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
@@ -13,6 +14,10 @@ eval "$(/root/.pyenv/bin/pyenv init --path)"
|
|||||||
eval "$(/root/.pyenv/bin/pyenv virtualenv-init -)"
|
eval "$(/root/.pyenv/bin/pyenv virtualenv-init -)"
|
||||||
pyenv global 3.14.0
|
pyenv global 3.14.0
|
||||||
|
|
||||||
|
python3 --version
|
||||||
|
echo $PYENV_ROOT
|
||||||
|
echo $PATH
|
||||||
|
|
||||||
ANSIBLE_CONFIG=/usr/share/ansible-repo/ansible.cfg
|
ANSIBLE_CONFIG=/usr/share/ansible-repo/ansible.cfg
|
||||||
|
|
||||||
CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD)
|
CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD)
|
||||||
|
|||||||
Reference in New Issue
Block a user