From 55f93cc5ad86d794fb291cafa4ff50bf4bb7eaf1 Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 16 Dec 2020 19:14:45 +0100 Subject: First step to integrate io to the cluster --- os/config/production.yml | 25 ++++++++++++++++++++++--- os/config/roles/network/templates/en.network | 3 ++- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/os/config/production.yml b/os/config/production.yml index 9004701..64a7416 100644 --- a/os/config/production.yml +++ b/os/config/production.yml @@ -1,34 +1,53 @@ cluster_nodes: hosts: veterini: - ansible_host: fbx-rennes2.machine.deuxfleurs.fr + ansible_host: atuin.site.deuxfleurs.fr ansible_port: 110 ansible_become: true ipv4: 192.168.1.2 + gatewayv4: 192.168.1.254 ipv6: 2a01:e35:2fdc:dbe0::2 + gatewayv6: 2a01:e35:2fdc:dbe0::1 interface: eno1 dns_1: 212.27.40.240 dns_2: 212.27.40.241 ansible_python_interpreter: python3 silicareux: - ansible_host: fbx-rennes2.machine.deuxfleurs.fr + ansible_host: atuin.site.deuxfleurs.fr ansible_port: 111 ansible_become: true ipv4: 192.168.1.3 + gatewayv4: 192.168.1.254 ipv6: 2a01:e35:2fdc:dbe0::3 + gatewayv6: 2a01:e35:2fdc:dbe0::1 interface: eno1 dns_1: 212.27.40.240 dns_2: 212.27.40.241 ansible_python_interpreter: python3 wonse: - ansible_host: fbx-rennes2.machine.deuxfleurs.fr + ansible_host: atuin.site.deuxfleurs.fr ansible_port: 112 ansible_become: true ipv4: 192.168.1.4 + gatewayv4: 192.168.1.254 ipv6: 2a01:e35:2fdc:dbe0::4 + gatewayv6: 2a01:e35:2fdc:dbe0::1 interface: eno1 dns_1: 212.27.40.240 dns_2: 212.27.40.241 ansible_python_interpreter: python3 + + io: + ansible_host: pluton.site.deuxfleurs.fr + ansible_port: 110 + ansible_become: true + ipv4: 192.168.1.2 + gatewayv4: 192.168.1.1 + ipv6: 2a02:8428:81d6:6901::2 + gatewayv6: 2a02:8428:81d6:6901::1 + interface: enp2s0 + dns_1: 109.0.66.20 + dns_2: 109.0.66.10 + ansible_python_interpreter: python3 diff --git a/os/config/roles/network/templates/en.network b/os/config/roles/network/templates/en.network index 0f1481b..fdc4dd9 100644 --- a/os/config/roles/network/templates/en.network +++ b/os/config/roles/network/templates/en.network @@ -4,6 +4,7 @@ Name={{ interface }} [Network] Address={{ ipv4 }}/24 Address={{ ipv6 }}/64 -Gateway=192.168.1.254 +Gateway={{ gatewayv4 }} +Gateway={{ gatewayv6 }} IPv6AcceptRA=no LinkLocalAddressing=no -- cgit v1.2.3