Fix for voidlinux
This commit is contained in:
6
site.yml
6
site.yml
@@ -3,9 +3,11 @@
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- name: install python
|
||||
raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python) || (xbps-install -S && xbps-install python)
|
||||
raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python) || (xbps-install -S && xbps-install -y python || true)
|
||||
changed_when: False
|
||||
- name: install python3
|
||||
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3) || (xbps-install -S && xbps-install python)
|
||||
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3) || (xbps-install -S && xbps-install -y python || true)
|
||||
changed_when: False
|
||||
|
||||
- hosts: fet_hosts
|
||||
roles:
|
||||
|
||||
Reference in New Issue
Block a user