ansible/roles/basic/tasks/main.yml

27 lines
450 B
YAML
Raw Normal View History

2022-09-04 17:25:14 +02:00
---
2022-08-30 11:03:36 +02:00
- name: install python3
apk:
2022-09-19 08:48:00 +02:00
name:
- acl
- python3
2022-09-04 16:52:07 +02:00
when: ansible_distribution == "Alpine"
- name: install python3
apt:
2022-09-19 08:48:00 +02:00
name:
- acl
- python3
2022-09-04 16:52:07 +02:00
when: ansible_distribution in ["Debian", "Ubuntu"]
2022-09-04 17:46:28 +02:00
- name: install python3
openbsd_pkg:
2022-09-19 08:48:00 +02:00
name:
- python3
2022-09-04 17:46:28 +02:00
when: ansible_distribution == "OpenBSD"
2022-10-18 12:05:45 +02:00
- name: install python3
pacman:
name:
- python3
when: ansible_distribution == "Archlinux"