mirror of
https://github.com/Crocmagnon/ansible.git
synced 2025-03-14 13:34:04 +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:
|
||||
pkg:
|
||||
- python3-venv
|
||||
- bat
|
||||
- name: Setup venv
|
||||
# github3.py required by the goatcounter playbook
|
||||
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
|
||||
/tmp/ansible/bin/pip install --upgrade 'github3.py >= 1.0.0a3'
|
||||
args:
|
||||
|
|
Loading…
Add table
Reference in a new issue