Install python3-apt

This commit is contained in:
Daniel A. Maierhofer
2018-03-28 11:22:11 +02:00
parent 80f515ce72
commit fafd5c8faf

View File

@@ -3,10 +3,10 @@
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 -y python || true)
raw: test -e /usr/bin/python || (apt-get update && apt-get install -y python python-apt) || (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 -y python || true)
raw: test -e /usr/bin/python3 || (apt-get update && apt-get install -y python3 python3-apt) || (xbps-install -S && xbps-install -y python || true)
changed_when: False
- hosts: fet_hosts