mirror of
https://github.com/Crocmagnon/ansible.git
synced 2025-03-14 21:44:03 +01:00
fix python deps setup
This commit is contained in:
parent
fef296cbbd
commit
520fda6daa
1 changed files with 3 additions and 1 deletions
|
@ -8,10 +8,12 @@
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
pkg:
|
pkg:
|
||||||
- python3-venv
|
- python3-venv
|
||||||
|
- bat
|
||||||
- name: Setup venv
|
- name: Setup venv
|
||||||
# github3.py required by the goatcounter playbook
|
# github3.py required by the goatcounter playbook
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
if [ -x /tmp/ansible/bin/python ]; then exit 123; fi
|
if [ -x /tmp/ansible/bin/python ] && [ -x /tmp/ansible/bin/pip ] ; then exit 123; fi
|
||||||
|
rm -rf /tmp/ansible
|
||||||
/usr/bin/python3 -m venv /tmp/ansible
|
/usr/bin/python3 -m venv /tmp/ansible
|
||||||
/tmp/ansible/bin/pip install --upgrade 'github3.py >= 1.0.0a3'
|
/tmp/ansible/bin/pip install --upgrade 'github3.py >= 1.0.0a3'
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Add table
Reference in a new issue