--- - include_vars: "{{ ansible_os_family }}.yml" - include: mariadb_install.yml - include: mariadb_cluster.yml - include: mariadb_config.yml when: - inventory_hostname == haproxy_hosts.keys()[0] - include: mongodb_install.yml - include: mongodb_config.yml when: - inventory_hostname == haproxy_hosts.keys()[0] - meta: flush_handlers