2016-09-25 17:47:36 +07:00
|
|
|
---
|
|
|
|
|
|
|
|
- hosts: all
|
|
|
|
vars:
|
|
|
|
mysql_replication_master: true
|
|
|
|
mysql_bind_address: '{{ ansible_eth0.ipv4.address }}'
|
|
|
|
mariadb_galera_members:
|
|
|
|
- '{{ ansible_eth0.ipv4.address }}'
|
2016-09-25 18:48:27 +07:00
|
|
|
mysql_galera_primary_node: 'localhost'
|
2016-09-25 17:47:36 +07:00
|
|
|
roles:
|
|
|
|
- ../../
|
|
|
|
post_tasks:
|
|
|
|
- name: TEST | SHELL | Test mysql
|
|
|
|
shell: mysql -e "SHOW DATABASES;"
|