|
|
@ -7,19 +7,19 @@ |
|
|
|
- name: Install pacemaker |
|
|
|
- name: Install pacemaker |
|
|
|
package: |
|
|
|
package: |
|
|
|
name: pacemaker |
|
|
|
name: pacemaker |
|
|
|
state: present |
|
|
|
state: absent |
|
|
|
- name: Install corosync |
|
|
|
- name: Install corosync |
|
|
|
package: |
|
|
|
package: |
|
|
|
name: corosync |
|
|
|
name: corosync |
|
|
|
state: present |
|
|
|
state: absent |
|
|
|
- name: Install pcs |
|
|
|
- name: Install pcs |
|
|
|
package: |
|
|
|
package: |
|
|
|
name: pcs |
|
|
|
name: pcs |
|
|
|
state: present |
|
|
|
state: absent |
|
|
|
- name: Install fence-agents |
|
|
|
- name: Install fence-agents |
|
|
|
package: |
|
|
|
package: |
|
|
|
name: fence-agents |
|
|
|
name: fence-agents |
|
|
|
state: present |
|
|
|
state: absent |
|
|
|
- name: append hosts to etc_hosts |
|
|
|
- name: append hosts to etc_hosts |
|
|
|
blockinfile: |
|
|
|
blockinfile: |
|
|
|
state: present |
|
|
|
state: present |
|
|
@ -30,8 +30,8 @@ |
|
|
|
- name: Start pcsd |
|
|
|
- name: Start pcsd |
|
|
|
service: |
|
|
|
service: |
|
|
|
name: pcsd |
|
|
|
name: pcsd |
|
|
|
enabled: true |
|
|
|
enabled: false |
|
|
|
state: started |
|
|
|
state: false |
|
|
|
- name: Install package |
|
|
|
- name: Install package |
|
|
|
package: |
|
|
|
package: |
|
|
|
name: haproxy |
|
|
|
name: haproxy |
|
|
|