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
66# Variables
77
88- ` 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)
910- ` pacemaker_corosync_ring_interface ` : Interface to use for ring0 communications (default: false, * mandatory* )
1011- ` 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 66 with_items :
77 - corosync
88 - pacemaker
9+ - pacemaker-remote
Original file line number Diff line number Diff line change 55 - ansible_os_family | lower == 'redhat'
66 - ansible_distribution_major_version is version('8', '=')
77
8- - name : Installs pacemaker & corosync
8+ - name : Installs corosync
99 package :
1010 name : " {{ item }}"
1111 state : present
1212 with_items :
1313 - corosync
14+
15+ - name : Installs pacemaker
16+ package :
17+ name : " {{ item }}"
18+ state : present
19+ with_items :
1420 - 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"
1530
1631- name : Install haveged
1732 package :
You can’t perform that action at this time.
0 commit comments