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