Change min consul nodes to bootstrap to 2

This commit is contained in:
IamTheFij 2023-03-17 11:47:21 -07:00
parent 33fea63b5f
commit 3248f2817b
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@
consul_node_role: server
consul_raft_protocol: 3
consul_bootstrap_expect: true
consul_bootstrap_expect_value: "{{ [(play_hosts | length), 3] | min }}"
consul_bootstrap_expect_max_value: 2
consul_bootstrap_expect_value: "{{ [(play_hosts | length), consul_bootstrap_expect_max_value] | min }}"
consul_user: consul
consul_manage_user: true