From dad4ec6928c08793427f855781776c5166933833 Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Tue, 14 Jul 2026 14:16:05 +0200 Subject: [PATCH] cleanup inventories --- ansible/inventories/automotive.yaml | 7 ------ ansible/inventories/externals.yaml | 17 ------------- ansible/inventories/main_lab.yaml | 37 ----------------------------- ansible/inventories/production.yaml | 22 +++++++++-------- ansible/inventories/prox1_lab.yaml | 6 ----- ansible/inventories/sifi.yaml | 19 ++++----------- ansible/inventories/vlab1.yaml | 18 ++++++++++---- 7 files changed, 29 insertions(+), 97 deletions(-) delete mode 100644 ansible/inventories/automotive.yaml delete mode 100644 ansible/inventories/externals.yaml delete mode 100644 ansible/inventories/main_lab.yaml delete mode 100644 ansible/inventories/prox1_lab.yaml diff --git a/ansible/inventories/automotive.yaml b/ansible/inventories/automotive.yaml deleted file mode 100644 index 9d0b4e5..0000000 --- a/ansible/inventories/automotive.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -automotive: - children: - web: - hosts: - automotive.sse.cloud.isti.cnr.it: - #automotive2.sse.cloud.isti.cnr.it: \ No newline at end of file diff --git a/ansible/inventories/externals.yaml b/ansible/inventories/externals.yaml deleted file mode 100644 index 3f7b083..0000000 --- a/ansible/inventories/externals.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -externals: - children: - nextcloud: - hosts: - c-service.sse.cloud.isti.cnr.it - rup_tests: - hosts: - liquid: - ansible_host: 146.48.108.15 - nextrup_copy_test: - ansible_host: 146.48.108.16 - misc_tests: - hosts: - bigbrain: - ansible_host: 146.48.108.14 - diff --git a/ansible/inventories/main_lab.yaml b/ansible/inventories/main_lab.yaml deleted file mode 100644 index 1cf750b..0000000 --- a/ansible/inventories/main_lab.yaml +++ /dev/null @@ -1,37 +0,0 @@ -main_lab_hosts: - children: - lan: - hosts: - edge.home.arpa: - inspector.home.arpa: - god.home.arpa: - swarm: - children: - enabling: - hosts: - enabling[1:3].home.arpa: - swarm_master: true - swarm_drain: false - vars: - swarm_name: enabling - swarm1: - hosts: - swarm1m[1:3].home.arpa: - swarm_master: true - swarm1w[1:4].home.arpa: - vars: - swarm_name: the_swarm - cluster: - hosts: - worker[1:3].home.arpa: - cl1m1.home.arpa: - front: - hosts: - main_lab_edge: - ansible_host: 146.48.108.5 - operators: - children: - lan: - enabling: - - diff --git a/ansible/inventories/production.yaml b/ansible/inventories/production.yaml index b10db3e..cd36504 100644 --- a/ansible/inventories/production.yaml +++ b/ansible/inventories/production.yaml @@ -1,11 +1,13 @@ -prouction_hosts: +--- +prouction: children: - public_access: - hosts: - #cloud.reterup.it: - #ansible_host: 146.48.108.17 - backups: - ansible_host: 146.48.108.12 - ftp_server: - hosts: - backups: + automotive: + children: + web: + hosts: + automotive.sse.cloud.isti.cnr.it: + ssesite: + children: + web: + hosts: + site.sse.cloud.isti.cnr.it: \ No newline at end of file diff --git a/ansible/inventories/prox1_lab.yaml b/ansible/inventories/prox1_lab.yaml deleted file mode 100644 index 23f1055..0000000 --- a/ansible/inventories/prox1_lab.yaml +++ /dev/null @@ -1,6 +0,0 @@ -prox1_lab_hosts: - children: - front: - hosts: - prox1_lab_edge: - ansible_host: 146.48.108.11 \ No newline at end of file diff --git a/ansible/inventories/sifi.yaml b/ansible/inventories/sifi.yaml index daac126..ae5309e 100644 --- a/ansible/inventories/sifi.yaml +++ b/ansible/inventories/sifi.yaml @@ -1,23 +1,12 @@ --- -# SIFI sifi: children: - #opn: - #hosts: - # sifi_opnsense.sifi.isti.cnr.it: - # ns1.sifi.isti.cnr.it: - # ansible_host: 146.48.108.51 #[WAN public ip] - # ansible_host: 10.20.30.111 wireguard_server: hosts: vpn-1.sifi.sse.cloud.isti.cnr.it: - # ansible_host: 146.48.108.13 - # nameserver: - # hosts: - #ns1.sifi.isti.cnr.it: - # ansible_host: 146.48.108.51 - # dns1.internal.sifi.isti.cnr.it: - # ansible_host: 10.11.12.11 workers: hosts: - dev-1.sifi.sse.cloud.isti.cnr.it: + sifi_worker1.sifi.sse.cloud.isti.cnr.it: + sifi_worker2.sifi.sse.cloud.isti.cnr.it: + db: + sifi_db.sifi.sse.cloud.isti.cnr.it: diff --git a/ansible/inventories/vlab1.yaml b/ansible/inventories/vlab1.yaml index ecae69a..2d44f84 100644 --- a/ansible/inventories/vlab1.yaml +++ b/ansible/inventories/vlab1.yaml @@ -3,13 +3,21 @@ vlab-1: children: yuno: hosts: - yuno.sse.cloud.isti.cnr.it: + yuno-1.sse.cloud.isti.cnr.it: wireguard_server: hosts: vpn-1.sse.cloud.isti.cnr.it: nextcloud: hosts: - b-service_2: - ansible_host: 10.22.2.77 - b-service_1: - ansible_host: 10.22.1.145 \ No newline at end of file + b-service_2.sse.cloud.isti.cnr.it: + b-service_1.sse.cloud.isti.cnr.it: + c_service_1.sse.cloud.isti.cnr.it: + backups: + hosts: + borg-1.sse.cloud.isti.cnr.it: + testing: + hosts: + tester.sse.cloud.isti.cnr.it: + controller: + hosts: + controller.sse.cloud.isti.cnr.it: \ No newline at end of file