From c9929c4c873dd68c175e17c5c9989db0f155ae44 Mon Sep 17 00:00:00 2001 From: ace Date: Tue, 7 Feb 2023 23:14:22 +0300 Subject: [PATCH] update version to 1.12.9 and add quotes --- defaults/main.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/defaults/main.yaml b/defaults/main.yaml index 48fa989..9906f29 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -1,13 +1,13 @@ -consul_version: 1.12.4 +consul_version: "1.12.9" consul_config_path: "/etc/consul.d" consul_data_path: "/opt/consul" -consul_user: consul -consul_group: consul -consul_install_repo: yes +consul_user: "consul" +consul_group: "consul" +consul_install_repo: true -consul_cluster_group: consul -consul_server_group: consul_server -consul_agent_group: consul_agent +consul_cluster_group: "consul" +consul_server_group: "consul_server" +consul_agent_group: "consul_agent" consul_config: {} consul_default_config: @@ -17,20 +17,20 @@ consul_default_config: enabled: "{{ true if inventory_hostname in groups[consul_server_group] else false }}" log_level: info retry_join: "{{ groups[consul_server_group] | default([])}}" - retry_interval: 30s + retry_interval: "30s" datacenter: "main" bootstrap_expect: "{{ groups[consul_server_group]|length|int if inventory_hostname in groups[consul_server_group] else omit }}" performance: raft_multiplier: 1 acl: enabled: false - default_policy: deny - down_policy: extend-cache + default_policy: "deny" + down_policy: "extend-cache" enable_token_persistence: true -consul_ssl: no +consul_ssl: false consul_ssl_path: "/etc/consul.d/ssl" -consul_self_signed_cert: no +consul_self_signed_cert: false consul_self_signed_cert_name: "consul-tls" consul_server_ssl_config: {} consul_server_ssl_default_config: