--- - import_tasks: upstream.yml when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "22.04" - import_tasks: ppa.yml when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04"