- name: Install MariaDB Server ansible.builtin.dnf: name: mariadb-server state: present - name: Change the bind-address to allow Docker ansible.builtin.lineinfile: path: /etc/my.cnf.d/mariadb-server.cnf regex: "^bind-address" line: "bind-address = 0.0.0.0" notify: restart_mariadb - name: Install MySQL Support for Python 3 ansible.builtin.apt: name: python3-pymysql state: present