--- # file: roles/tg/tasks/main.yaml - name: Ubuntu specific import_tasks: ubuntu_x86_64.yaml when: ansible_distribution|lower == 'ubuntu' and ansible_machine == 'x86_64'