From 3ab7e6329169af04a36004de1ad752e1017aeaab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 30 Jun 2024 14:56:37 +0200 Subject: refactor(inventory): bump and add local-router-01 --- host_vars/ams-dcontroller-01.yml | 5 ----- host_vars/local-hvisor-01.yml | 2 +- host_vars/local-router-01.yml | 9 +++++++++ host_vars/wstation-think-01.yml | 2 +- host_vars/wstation-xps-01.yml/main.yml | 2 +- inventory.ini | 3 +++ 6 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 host_vars/local-router-01.yml diff --git a/host_vars/ams-dcontroller-01.yml b/host_vars/ams-dcontroller-01.yml index 4e69ddd..6a88e22 100644 --- a/host_vars/ams-dcontroller-01.yml +++ b/host_vars/ams-dcontroller-01.yml @@ -49,11 +49,6 @@ __services: protocol: tcp port: "{{ cgit__listen_port }}" - - name: nextcloud - domain: "{{ nextcloud__domain_name }}" - protocol: tcp - port: "{{ nextcloud__listen_port }}" - - name: melpiat domain: melpiat.com protocol: tcp diff --git a/host_vars/local-hvisor-01.yml b/host_vars/local-hvisor-01.yml index 49ab6a7..6fd9797 100644 --- a/host_vars/local-hvisor-01.yml +++ b/host_vars/local-hvisor-01.yml @@ -9,7 +9,7 @@ nextcloud__domain_name: cloud.rgoncalves.se __ip: external: 192.168.1.128 - internal: 10.10.0.128 + internal: 10.10.0.21 __services: - name: ssh diff --git a/host_vars/local-router-01.yml b/host_vars/local-router-01.yml new file mode 100644 index 0000000..352db19 --- /dev/null +++ b/host_vars/local-router-01.yml @@ -0,0 +1,9 @@ +--- + +ansible_host: 192.168.1.254 + +sshd__listen_port: "{{ ansible_port }}" + +__ip: + external: "{{ ansible_host }}" + internal: 10.10.0.10 diff --git a/host_vars/wstation-think-01.yml b/host_vars/wstation-think-01.yml index c1a5ef7..a8a0be8 100644 --- a/host_vars/wstation-think-01.yml +++ b/host_vars/wstation-think-01.yml @@ -2,4 +2,4 @@ __ip: external: dhcp - internal: 10.10.0.82 + internal: 10.10.0.12 diff --git a/host_vars/wstation-xps-01.yml/main.yml b/host_vars/wstation-xps-01.yml/main.yml index bf2e0c8..55de497 100644 --- a/host_vars/wstation-xps-01.yml/main.yml +++ b/host_vars/wstation-xps-01.yml/main.yml @@ -2,4 +2,4 @@ __ip: external: dhcp - internal: 10.10.0.81 + internal: 10.10.0.11 diff --git a/inventory.ini b/inventory.ini index f86b23e..592dfb4 100644 --- a/inventory.ini +++ b/inventory.ini @@ -9,6 +9,9 @@ wstation-xps-01 ams-dcontroller-01 local-hvisor-01 +[routers] +local-router-01 + [workstations] wstation-think-01 wstation-xps-01 -- cgit v1.2.3