ansible-desktop/roles/ubuntu-firefox/tasks/main.yml

7 lines
200 B
YAML

---
- import_tasks: ppa.yml
when: ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 22
- import_tasks: update-alternatives.yml
when: ansible_distribution == "Ubuntu"