@ -4,34 +4,6 @@
become_method: sudo
become_user: root
tasks:
- name: Install pacemaker
package:
name: pacemaker
state: absent
- name: Install corosync
name: corosync
- name: Install pcs
name: pcs
- name: Install fence-agents
name: fence-agents
- 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: haproxy