Merge "Fix haproxy prechecks after deployment"
This commit is contained in:
commit
b6f9c1c492
@ -194,10 +194,10 @@
|
|||||||
- inventory_hostname in groups['loadbalancer']
|
- inventory_hostname in groups['loadbalancer']
|
||||||
|
|
||||||
- name: Getting haproxy stat
|
- name: Getting haproxy stat
|
||||||
|
become: true
|
||||||
shell: echo "show stat" | docker exec -i haproxy socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock stdio # noqa 306
|
shell: echo "show stat" | docker exec -i haproxy socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock stdio # noqa 306
|
||||||
register: haproxy_stat_shell
|
register: haproxy_stat_shell
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
|
||||||
when: container_facts['haproxy'] is defined
|
when: container_facts['haproxy'] is defined
|
||||||
|
|
||||||
- name: Setting haproxy stat fact
|
- name: Setting haproxy stat fact
|
||||||
|
Loading…
x
Reference in New Issue
Block a user