--- - name: Add the OS specific variables include_vars: "{{ item }}" with_first_found: - "{{ ansible_distribution }}{{ ansible_distribution_major_version }}.yml" - "{{ ansible_os_family }}.yml" - include_tasks: "tomcat-mariadb-install.yml"