--- - name: mariadb | requirements include_tasks: requirements.yml - name: mariadb | upgrade include_tasks: upgrade.yml when: mariadb_force_upgrade | bool - name: mariadb | installation include_tasks: install.yml when: not mariadb_force_upgrade | bool - name: mariadb | database and user management include_tasks: database.yml when: - mariadb_databases is defined and mariadb_databases | length > 0 - mariadb_users is defined and mariadb_users | length > 0