mariadb/molecule/default/playbook.yml
2019-04-14 20:27:36 +02:00

17 lines
406 B
YAML

---
- 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