Fixed hosts file and removed the is_mysql_running hook on startcluster

This commit is contained in:
2016-02-03 07:54:43 -05:00
parent 3608270adf
commit 7ef9c68b34
2 changed files with 3 additions and 9 deletions

7
hosts
View File

@@ -5,11 +5,10 @@ webhostname
woker1
[db]
db0 db1-hostname server_id=1
db1 db2-hostname server_id=2
db2 db3-hostname server_id=3
db1-hostname
db2-hostname
db3-hostname
[proxy]
haproxy-hostname
[proxy-internal]

View File

@@ -2,11 +2,6 @@
# This starts the galera cluster
# Check if mysql is running
- name: is mysql running?
action: shell service mysql status
register: is_mysql_running
ignore_errors: true
- name: bootstrap by starting mysql with new cluster
action: shell service mysql start --wsrep-new-cluster