14 lines
334 B
YAML
14 lines
334 B
YAML
- hosts: [{{host}}]
|
|
sudo: yes
|
|
tasks:
|
|
- name: mariadb db
|
|
mysql_db:
|
|
name: {{ db_name }}
|
|
state: present
|
|
login_user: root
|
|
login_password: {{ login_password }}
|
|
login_port: {{ login_port }}
|
|
login_host: {{db_host}}
|
|
collation: {{collation}}
|
|
encoding: {{encoding}}
|