aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os/config/production.yml22
-rw-r--r--os/config/roles/consul/templates/consul.json.j25
2 files changed, 15 insertions, 12 deletions
diff --git a/os/config/production.yml b/os/config/production.yml
index 8870b52..d8baf14 100644
--- a/os/config/production.yml
+++ b/os/config/production.yml
@@ -4,9 +4,9 @@ cluster_nodes:
ansible_host: atuin.site.deuxfleurs.fr
ansible_port: 110
ansible_become: true
- ipv4: 192.168.1.2
- gatewayv4: 192.168.1.254
- ipv6: 2a01:e34:ec5c:dbe0::2
+ ipv4: 192.168.0.2
+ gatewayv4: 192.168.0.254
+ ipv6: 2a01:e0a:260:b5b0::2
gatewayv6: 2a01:e34:ec5c:dbe0::1
interface: eno1
dns_1: 212.27.40.240
@@ -17,10 +17,10 @@ cluster_nodes:
ansible_host: atuin.site.deuxfleurs.fr
ansible_port: 111
ansible_become: true
- ipv4: 192.168.1.3
- gatewayv4: 192.168.1.254
- ipv6: 2a01:e34:ec5c:dbe0::3
- gatewayv6: 2a01:e34:ec5c:dbe0::1
+ ipv4: 192.168.0.3
+ gatewayv4: 192.168.0.254
+ ipv6: 2a01:e0a:260:b5b0::3
+ gatewayv6: 2a01:e0a:260:b5b0::1
interface: eno1
dns_1: 212.27.40.240
dns_2: 212.27.40.241
@@ -30,10 +30,10 @@ cluster_nodes:
ansible_host: atuin.site.deuxfleurs.fr
ansible_port: 112
ansible_become: true
- ipv4: 192.168.1.4
- gatewayv4: 192.168.1.254
- ipv6: 2a01:e34:ec5c:dbe0::4
- gatewayv6: 2a01:e34:ec5c:dbe0::1
+ ipv4: 192.168.0.4
+ gatewayv4: 192.168.0.254
+ ipv6: 2a01:e0a:260:b5b0::4
+ gatewayv6: 2a01:e0a:260:b5b0::1
interface: eno1
dns_1: 212.27.40.240
dns_2: 212.27.40.241
diff --git a/os/config/roles/consul/templates/consul.json.j2 b/os/config/roles/consul/templates/consul.json.j2
index 6172cc4..73446fe 100644
--- a/os/config/roles/consul/templates/consul.json.j2
+++ b/os/config/roles/consul/templates/consul.json.j2
@@ -24,10 +24,13 @@
"encrypt": "{{ consul_gossip_encrypt }}",
"domain": "2.cluster.deuxfleurs.fr",
"performance": {
- "raft_multiplier": 10,
+ "raft_multiplier": 5,
"rpc_hold_timeout": "30s",
"leave_drain_time": "30s"
},
+ "dns_config": {
+ "allow_stale": true
+ },
"telemetry": {
"disable_hostname": true,
"prometheus_retention_time": "2h"