--- - import_tasks: install.yml when: - services.mariadb.enable is true - import_tasks: start.yml when: - services.mariadb.enable is true - import_tasks: state.yml when: - services.mariadb.enable is true - import_tasks: remove.yml when: - services.mariadb.enable is false