1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00
ansible_playbook_servers/roles/mailserver_preperation/handlers/main.yml

16 lines
362 B
YAML

---
- name: import mail database config
become: true
community.mysql.mysql_db:
name: vmail
encoding: 'utf8'
state: import
target: '/root/.mariadb_schema/config.sql'
- name: create database schema
become: true
community.mysql.mysql_db:
name: vmail
encoding: 'utf8'
state: import
target: '/root/.mariadb_schema/schema.sql'