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