File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
totem {
2
2
version: 2
3
3
cluster_name: {{ pacemaker_corosync_group }}
4
+ {% if pacemaker_enable_nodelist |default (true ) %}
4
5
transport: udpu
6
+ {% endif %}
5
7
interface {
6
8
ringnumber: 0
7
9
bindnetaddr: {{ hostvars[inventory_hostname] ['ansible_' + pacemaker_corosync_ring_interface] .ipv4.address }}
@@ -18,8 +20,12 @@ quorum {
18
20
wait_for_all: 1
19
21
last_man_standing: 1
20
22
{% endif %}
23
+ {% if not pacemaker_enable_nodelist |default (true ) %}
24
+ expected_votes: {{ groups[pacemaker_corosync_group] |count }}
25
+ {% endif %}
21
26
}
22
27
28
+ {% if pacemaker_enable_nodelist |default (true ) %}
23
29
nodelist {
24
30
{% for node in groups [pacemaker_corosync_group ]|sort %}
25
31
node {
@@ -29,6 +35,7 @@ nodelist {
29
35
}
30
36
{% endfor %}
31
37
}
38
+ {% endif %}
32
39
33
40
logging {
34
41
to_logfile: yes
You can’t perform that action at this time.
0 commit comments