diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-12-16 19:14:45 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-12-16 19:14:45 +0100 |
commit | 55f93cc5ad86d794fb291cafa4ff50bf4bb7eaf1 (patch) | |
tree | f96379317a9b89503fcca87eee550d5c726142a4 /os | |
parent | 41e33f40ad1523d4e1016964d33f6b2aba3959dd (diff) | |
download | infrastructure-55f93cc5ad86d794fb291cafa4ff50bf4bb7eaf1.tar.gz infrastructure-55f93cc5ad86d794fb291cafa4ff50bf4bb7eaf1.zip |
First step to integrate io to the cluster
Diffstat (limited to 'os')
-rw-r--r-- | os/config/production.yml | 25 | ||||
-rw-r--r-- | 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 |