--- - name: Include OS-specific variables. include_vars: "{{ ansible_os_family }}.yml" - include: setup-RedHat.yml when: ansible_os_family == 'RedHat' - include: setup-Debian.yml when: ansible_os_family == 'Debian' - include: configure.yml - include: secure-installation.yml - include: databases.yml - include: users.yml - include: replication.yml