--- - name: INCLUDE | Use Percona repository include: 'percona/apt.yml' when: mysql_use_percona_apt - name: INCLUDE | Install MariaDB from Debian repo include: 'mariadb/default.yml' when: mysql_origin == 'default' and mysql_vendor == 'mariadb' - name: INCLUDE | Install MariaDB from MariaDB repo include: 'mariadb/upstream.yml' when: mysql_origin == 'upstream' - name: APT | Install few MySQL related tools apt: pkg: "{{ item }}" install_recommends: no with_items: "{{ mysql_tools }}" - name: APT | Install percona-xtrabackup if needed apt: pkg: "{{ mysql_xtrabackup_package }}" when: mysql_install_xtrabackup_package