Install python3-apt
This commit is contained in:
4
site.yml
4
site.yml
@@ -3,10 +3,10 @@
|
|||||||
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 -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
|
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 -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
|
changed_when: False
|
||||||
|
|
||||||
- hosts: fet_hosts
|
- hosts: fet_hosts
|
||||||
|
|||||||
Reference in New Issue
Block a user