Update 'haproxy.yml'

master
alecsandru 9 months ago
parent e9a74aadee
commit 60c6fae229
  1. 7
      haproxy.yml

@ -24,10 +24,9 @@
blockinfile:
state: present
dest: /etc/hosts
content: |
{% for host in groups.all %}
{{ host }} {{ hostvars\[host\]\['hostname'\] }}
{% endfor %}
block: |
'10.10.0.21 k8s-pi-01'
'10.10.0.22 k8s-pi-02'
- name: Start pcsd
service:
name: pscd

Loading…
Cancel
Save