summaryrefslogtreecommitdiff
path: root/cluster_deploy.yml
diff options
context:
space:
mode:
authorzhangzhihan <[email protected]>2020-11-12 22:56:55 +0600
committerzhangzhihan <[email protected]>2020-11-12 22:56:55 +0600
commit465622889c26809b2e9c52d535412a18b3293f1f (patch)
tree504debd0d463850b7d12d4dedbd9dc732cfea62b /cluster_deploy.yml
parent6c2cf7527155cc915b0ccedaf91e1535c8d51c54 (diff)
Diffstat (limited to 'cluster_deploy.yml')
-rw-r--r--cluster_deploy.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/cluster_deploy.yml b/cluster_deploy.yml
new file mode 100644
index 0000000..d85cbda
--- /dev/null
+++ b/cluster_deploy.yml
@@ -0,0 +1,21 @@
+- hosts: cluster_master
+ roles:
+ - oam_cluster
+ - consul-cluster
+ # mariadb复用毕方
+ #- mariadb
+ - influxdb
+ - ha_master
+
+- hosts: cluster_slave1
+ roles:
+ - oam_cluster
+ - consul-cluster
+ # mariadb复用毕方
+ #- mariadb
+ - influxdb
+ - ha_backup
+
+- hosts: cluster_slave2
+ roles:
+ - consul-cluster