Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ansible/playbooks/templates/aws_corosync.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ totem {
token: 30000
consensus: 36000
token_retransmits_before_loss_const: 6
{% if ansible_facts.packages['corosync'][0].version is version('3.0.0', '<') %}
crypto_cipher: {{ crypto_cipher }}
crypto_hash: {{ crypto_hash }}
{% endif %}
clear_node_high_bit: yes
{% if ansible_facts.packages['corosync'][0].version is version('3.0.0', '<') %}
rrp_mode: passive
{% endif %}

interface {
ringnumber: 0
Expand Down
4 changes: 4 additions & 0 deletions ansible/playbooks/templates/corosync.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ totem {
token: 30000
consensus: 36000
token_retransmits_before_loss_const: 6
{% if ansible_facts.packages['corosync'][0].version is version('3.0.0', '<') %}
crypto_cipher: {{ crypto_cipher }}
crypto_hash: {{ crypto_hash }}
{% endif %}
clear_node_high_bit: yes
{% if ansible_facts.packages['corosync'][0].version is version('3.0.0', '<') %}
rrp_mode: passive
{% endif %}

interface {
ringnumber: 0
Expand Down
2 changes: 2 additions & 0 deletions ansible/playbooks/templates/gcp_corosync.conf.j2
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
totem {
version: 2
{% if ansible_facts.packages['corosync'][0].version is version('3.0.0', '<') %}
secauth: off
crypto_hash: sha1
crypto_cipher: aes256
{% endif %}
cluster_name: hacluster
clear_node_high_bit: yes
token: 20000
Expand Down
Loading