File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ Deploys corosync/pacemaker
6
6
# Variables
7
7
8
8
- ` pacemaker_corosync_group ` : Ansible group name for corosync cluster (default: false, * mandatory* )
9
+ - ` pacemaker_remote_group ` : Ansible group name for pacemaker-remote cluster (default: false)
9
10
- ` pacemaker_corosync_ring_interface ` : Interface to use for ring0 communications (default: false, * mandatory* )
10
11
- ` pacemaker_corosync_fqdn ` : Whether use inventory_hostname or ansible_fqdn as node name for corosync (default: false)
11
-
Original file line number Diff line number Diff line change 6
6
with_items :
7
7
- corosync
8
8
- pacemaker
9
+ - pacemaker-remote
Original file line number Diff line number Diff line change 5
5
- ansible_os_family | lower == 'redhat'
6
6
- ansible_distribution_major_version is version('8', '=')
7
7
8
- - name : Installs pacemaker & corosync
8
+ - name : Installs corosync
9
9
package :
10
10
name : " {{ item }}"
11
11
state : present
12
12
with_items :
13
13
- corosync
14
+
15
+ - name : Installs pacemaker
16
+ package :
17
+ name : " {{ item }}"
18
+ state : present
19
+ with_items :
14
20
- pacemaker
21
+ when : " 'pacemaker_corosync_group' in group_names"
22
+
23
+ - name : Installs pacemaker-remote
24
+ package :
25
+ name : " {{ item }}"
26
+ state : present
27
+ with_items :
28
+ - pacemaker-remote
29
+ when : " 'pacemaker_remote_group' in group_names"
15
30
16
31
- name : Install haveged
17
32
package :
You can’t perform that action at this time.
0 commit comments