12 lines
261 B
YAML
12 lines
261 B
YAML
- hosts: [{{ ip }}]
|
|
sudo: yes
|
|
tasks:
|
|
- name: mariadb db
|
|
mysql_db:
|
|
name: {{db_name}}
|
|
state: absent
|
|
login_user: root
|
|
login_password: {{login_password}}
|
|
login_port: {{login_port}}
|
|
login_host: 127.0.0.1
|