mariadb/molecule/default/playbook.yml

17 lines
406 B
YAML
Raw Normal View History

2019-04-14 18:27:36 +00:00
---
- name: Converge
hosts: all
become: true
roles:
- role: geerlingguy.mysql
post_tasks:
- name: Make sure we can connect to MySQL via Unix socket.
command: "mysql -u root -proot -e 'show databases;'"
changed_when: false
- name: Make sure we can connect to MySQL via TCP.
command: "mysql -u root -proot -h 127.0.0.1 -e 'show databases;'"
changed_when: false