iloth_ansible/roles/mariadb/tasks/main.yml
2020-04-19 03:28:50 +02:00

10 lines
368 B
YAML

---
- name: Define MariaDB root password
shell: "{{ item }}"
with_items:
- "echo mysql-server mysql-server/root_password password {{ mysqlRootPassword }} | debconf-set-selections"
- "echo mysql-server mysql-server/root_password_again password {{ mysqlRootPassword }} | debconf-set-selections"
- name: Install MariaDB Server
apt:
name: mariadb-server