- name: install mariadb-server yum: name: - MySQL-python - mariadb-server state: present update_cache: yes - name: service: name: mariadb state: started enabled: yes - name: firewalld: service: mysql permanent: true state: enabled immediate: yes