Fix for voidlinux

This commit is contained in:
Daniel A. Maierhofer
2018-03-17 17:28:27 +01:00
parent 27f8a6c53b
commit c9e50ecfcf
2 changed files with 5 additions and 3 deletions

View File

@@ -3,9 +3,11 @@
gather_facts: False gather_facts: False
tasks: tasks:
- name: install python - 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 - 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 - hosts: fet_hosts
roles: roles: