ansible/roles/basic/tasks/main.yml

10 lines
193 B
YAML

- name: install python3
apk:
name: python3
when: ansible_distribution == "Alpine"
- name: install python3
apt:
name: python3
when: ansible_distribution in ["Debian", "Ubuntu"]