- name: Ensure production required directories exist file: path: "{{ item.path }}" state: directory owner: "{{ item.owner }}" group: "{{ item.group }}" mode: "{{ item.mode }}" loop: "{{ required_directories_master }}" - name: Set production MariaDB custom configuration copy: src: conf/z95-production.cnf dest: /etc/mysql/mariadb.conf.d/ owner: root group: root mode: u=rw,g=r,o=r notify: restart-mariadb - name: Reminder to check production mount points debug: msg: | Remember to check the following mount points: - /var/lib/mysql - /mnt/mysqlbin - /mnt/local-backup Make sure they are correctly configured and accessible.