Update 'haproxy.yml'

master
alecsandru 9 months ago
parent aa5f7360b8
commit 21d851bae7
  1. 28
      haproxy.yml

@ -4,34 +4,6 @@
become_method: sudo become_method: sudo
become_user: root become_user: root
tasks: tasks:
- name: Install pacemaker
package:
name: pacemaker
state: absent
- name: Install corosync
package:
name: corosync
state: absent
- name: Install pcs
package:
name: pcs
state: absent
- name: Install fence-agents
package:
name: fence-agents
state: absent
- name: append hosts to etc_hosts
blockinfile:
state: present
dest: /etc/hosts
block: |
'10.10.0.21 k8s-pi-01'
'10.10.0.22 k8s-pi-02'
- name: Start pcsd
service:
name: pcsd
enabled: false
state: false
- name: Install package - name: Install package
package: package:
name: haproxy name: haproxy

Loading…
Cancel
Save