diff --git a/roles/basic/tasks/main.yml b/roles/basic/tasks/main.yml index 78a68b9..54798d5 100644 --- a/roles/basic/tasks/main.yml +++ b/roles/basic/tasks/main.yml @@ -1,3 +1,9 @@ - name: install python3 apk: name: python3 + when: ansible_distribution == "Alpine" + +- name: install python3 + apt: + name: python3 + when: ansible_distribution in ["Debian", "Ubuntu"]