--- - import_tasks: install-ubuntu.yml when: ansible_distribution == "Ubuntu" - import_tasks: install-arch.yml when: ansible_distribution == "Archlinux"