
As we are using ansible 2.0, we should move from sudo to become to avoid deprecation. Change-Id: Ia084759b9c38f5c045ab14eab3af63a2ad33069f Closes-bug: 1547430
14 lines
329 B
YAML
14 lines
329 B
YAML
- hosts: [{{host}}]
|
|
become: 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: {{db_host}}
|
|
collation: {{collation}}
|
|
encoding: {{encoding}}
|