mirror of https://github.com/easzlab/kubeasz.git
fix 增加master节点变量未定义报错
parent
57ace894e1
commit
9ff1ffb220
|
@ -1,10 +1,7 @@
|
||||||
# 重新配置启动 haproxy
|
# 重新配置启动 haproxy
|
||||||
- hosts: lb
|
- hosts: lb
|
||||||
tasks:
|
roles:
|
||||||
- name: 配置 haproxy
|
- lb
|
||||||
template: src={{ base_dir }}/roles/lb/templates/haproxy.cfg.j2 dest=/etc/haproxy/haproxy.cfg
|
|
||||||
- name: 重启haproxy服务
|
|
||||||
shell: systemctl restart haproxy
|
|
||||||
|
|
||||||
- hosts: new-master
|
- hosts: new-master
|
||||||
roles:
|
roles:
|
||||||
|
|
Loading…
Reference in New Issue