ansible/roles/basic/tasks/main.yml

21 lines
345 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"