From ab047ee852699b417ea03c7f0634729b68facf6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 4 May 2022 13:59:01 +0200 Subject: [PATCH] change domains --- host_vars/backup.yaml | 2 +- host_vars/bitwarden.yaml | 2 +- host_vars/drone-runner.yaml | 2 +- host_vars/drone.yaml | 2 +- host_vars/git.yaml | 4 ++-- host_vars/guacamole.yaml | 2 +- host_vars/keycloak.yaml | 2 +- host_vars/neko.yaml | 2 +- host_vars/nextcloud.yaml | 2 +- host_vars/nexus.yaml | 2 +- host_vars/openvpn.yaml | 2 +- host_vars/postgres.yaml | 4 ++-- host_vars/smtp.yaml | 2 +- host_vars/sonar.yaml | 2 +- host_vars/swagger.yaml | 2 +- host_vars/webgateway.yaml | 2 +- infra.yaml | 2 +- roles/backupscript/defaults/main.yaml | 2 +- roles/backupscript/files/ssh_config | 4 ++-- roles/internalsmtp/defaults/main.yaml | 2 +- roles/webgateway/vars/main.yaml | 18 +++++++++--------- 21 files changed, 32 insertions(+), 32 deletions(-) diff --git a/host_vars/backup.yaml b/host_vars/backup.yaml index f8f7ae5..65c147e 100644 --- a/host_vars/backup.yaml +++ b/host_vars/backup.yaml @@ -1,5 +1,5 @@ --- -ansible_host: backup.stargate.internal +ansible_host: backup.intra.tormakris.dev servicename: mckay backup: host: oniel.tormakristof.eu diff --git a/host_vars/bitwarden.yaml b/host_vars/bitwarden.yaml index 514f442..cb31585 100644 --- a/host_vars/bitwarden.yaml +++ b/host_vars/bitwarden.yaml @@ -1,3 +1,3 @@ --- -ansible_host: bitwarden.stargate.internal +ansible_host: bitwarden.intra.tormakris.dev ... diff --git a/host_vars/drone-runner.yaml b/host_vars/drone-runner.yaml index 49f6736..95f29ae 100644 --- a/host_vars/drone-runner.yaml +++ b/host_vars/drone-runner.yaml @@ -1,3 +1,3 @@ --- -ansible_host: drone-runner.stargate.internal +ansible_host: drone-runner.intra.tormakris.dev ... diff --git a/host_vars/drone.yaml b/host_vars/drone.yaml index dd4ca07..4df18b4 100644 --- a/host_vars/drone.yaml +++ b/host_vars/drone.yaml @@ -1,3 +1,3 @@ --- -ansible_host: drone.stargate.internal +ansible_host: drone.intra.tormakris.dev ... diff --git a/host_vars/git.yaml b/host_vars/git.yaml index 6ea6e31..69aa5f5 100644 --- a/host_vars/git.yaml +++ b/host_vars/git.yaml @@ -1,10 +1,10 @@ --- -ansible_host: git.stargate.internal +ansible_host: git.intra.tormakris.dev servicename: git backup: folder: "/home/service-user" tarfolder: "gitea docker-compose.yml" - host: backup.stargate.internal + host: backup.intra.tormakris.dev internal: true prearecommand: "" basedir: /mnt/backupstore diff --git a/host_vars/guacamole.yaml b/host_vars/guacamole.yaml index 44c3989..37b792f 100644 --- a/host_vars/guacamole.yaml +++ b/host_vars/guacamole.yaml @@ -1,3 +1,3 @@ --- -ansible_host: guacamole.stargate.internal +ansible_host: guacamole.intra.tormakris.dev ... diff --git a/host_vars/keycloak.yaml b/host_vars/keycloak.yaml index af21fcc..8c1d562 100644 --- a/host_vars/keycloak.yaml +++ b/host_vars/keycloak.yaml @@ -1,3 +1,3 @@ --- -ansible_host: keycloak.stargate.internal +ansible_host: keycloak.intra.tormakris.dev ... diff --git a/host_vars/neko.yaml b/host_vars/neko.yaml index bf9b7f1..147f8e0 100644 --- a/host_vars/neko.yaml +++ b/host_vars/neko.yaml @@ -1,5 +1,5 @@ --- -ansible_host: zelenka.stargate.internal +ansible_host: zelenka.intra.tormakris.dev firewall: - port: "ssh" proto: tcp diff --git a/host_vars/nextcloud.yaml b/host_vars/nextcloud.yaml index 40edad3..7088a1d 100644 --- a/host_vars/nextcloud.yaml +++ b/host_vars/nextcloud.yaml @@ -1,3 +1,3 @@ --- -ansible_host: nextcloud.stargate.internal +ansible_host: nextcloud.intra.tormakris.dev ... diff --git a/host_vars/nexus.yaml b/host_vars/nexus.yaml index f7d11db..1cf41ae 100644 --- a/host_vars/nexus.yaml +++ b/host_vars/nexus.yaml @@ -1,5 +1,5 @@ --- -ansible_host: nexus.stargate.internal +ansible_host: nexus.intra.tormakris.dev webserver: - domain: "nexus.kmlabz.com" port: 8080 diff --git a/host_vars/openvpn.yaml b/host_vars/openvpn.yaml index 813fcfc..2cf8a96 100644 --- a/host_vars/openvpn.yaml +++ b/host_vars/openvpn.yaml @@ -1,5 +1,5 @@ --- -ansible_host: openvpn.stargate.internal +ansible_host: openvpn.intra.tormakris.dev firewall: - port: "1194" proto: udp diff --git a/host_vars/postgres.yaml b/host_vars/postgres.yaml index 4a2e42d..76d9728 100644 --- a/host_vars/postgres.yaml +++ b/host_vars/postgres.yaml @@ -1,5 +1,5 @@ --- -ansible_host: postgres.stargate.internal +ansible_host: postgres.intra.tormakris.dev servicename: postgres firewall: - port: "5432" @@ -8,7 +8,7 @@ firewall: backup: folder: "/var/lib/postgresql/backup" tarfolder: "backup" - host: backup.stargate.internal + host: backup.intra.tormakris.dev internal: true prearecommand: "time ( sudo -u postgres pg_dumpall > /var/lib/postgresql/backup/postgres.sql )" basedir: /mnt/backupstore diff --git a/host_vars/smtp.yaml b/host_vars/smtp.yaml index 2707e05..a922b5f 100644 --- a/host_vars/smtp.yaml +++ b/host_vars/smtp.yaml @@ -1,3 +1,3 @@ --- -ansible_host: smtp.stargate.internal +ansible_host: smtp.intra.tormakris.dev ... \ No newline at end of file diff --git a/host_vars/sonar.yaml b/host_vars/sonar.yaml index b453bea..3f8506b 100644 --- a/host_vars/sonar.yaml +++ b/host_vars/sonar.yaml @@ -1,3 +1,3 @@ --- -ansible_host: sonar.stargate.internal +ansible_host: sonar.intra.tormakris.dev ... diff --git a/host_vars/swagger.yaml b/host_vars/swagger.yaml index 451a2ee..3376cc0 100644 --- a/host_vars/swagger.yaml +++ b/host_vars/swagger.yaml @@ -1,3 +1,3 @@ --- -ansible_host: swagger.stargate.internal +ansible_host: swagger.intra.tormakris.dev ... diff --git a/host_vars/webgateway.yaml b/host_vars/webgateway.yaml index fac77e5..338bcc6 100644 --- a/host_vars/webgateway.yaml +++ b/host_vars/webgateway.yaml @@ -1,3 +1,3 @@ --- -ansible_host: apache.stargate.internal +ansible_host: apache.intra.tormakris.dev ... diff --git a/infra.yaml b/infra.yaml index d2a8805..7c02096 100644 --- a/infra.yaml +++ b/infra.yaml @@ -45,7 +45,7 @@ - customfirewall - internalsmtp -- name: "Deploy smtpgateway to smtp.stargate.internal" +- name: "Deploy smtpgateway to smtp.intra.tormakris.dev" hosts: smtp roles: - netplan diff --git a/roles/backupscript/defaults/main.yaml b/roles/backupscript/defaults/main.yaml index 1892d07..6851aa5 100644 --- a/roles/backupscript/defaults/main.yaml +++ b/roles/backupscript/defaults/main.yaml @@ -1,6 +1,6 @@ --- backup: - host: backup.stargate.internal + host: backup.intra.tormakris.dev internal: true prearecommand: "" basedir: /mnt/backupstore diff --git a/roles/backupscript/files/ssh_config b/roles/backupscript/files/ssh_config index a3e4855..8a7867e 100644 --- a/roles/backupscript/files/ssh_config +++ b/roles/backupscript/files/ssh_config @@ -1,4 +1,4 @@ -Host backup backup.stargate.internal - HostName backup.stargate.internal +Host backup backup.intra.tormakris.dev + HostName backup.intra.tormakris.dev User backup IdentityFile ~/.ssh/id_rsa diff --git a/roles/internalsmtp/defaults/main.yaml b/roles/internalsmtp/defaults/main.yaml index ed4f2c6..24e88f8 100644 --- a/roles/internalsmtp/defaults/main.yaml +++ b/roles/internalsmtp/defaults/main.yaml @@ -1,5 +1,5 @@ --- -postfix_relayhost: 'smtp.stargate.internal' +postfix_relayhost: 'smtp.intra.tormakris.dev' external_domain: 'tormakris.dev' ... diff --git a/roles/webgateway/vars/main.yaml b/roles/webgateway/vars/main.yaml index 10387e3..86bda40 100644 --- a/roles/webgateway/vars/main.yaml +++ b/roles/webgateway/vars/main.yaml @@ -1,13 +1,13 @@ proxy: - - {domain: bitwarden.tormakristof.eu, ip: bitwarden.stargate.internal} - - {domain: nextcloud.tormakristof.eu, ip: nextcloud.stargate.internal} - - {domain: drone.kmlabz.com, ip: drone.stargate.internal} - - {domain: git.kmlabz.com, ip: git.stargate.internal} - - {domain: guacamole.kmlabz.com, ip: guacamole.stargate.internal} - - {domain: keycloak.kmlabz.com, ip: keycloak.stargate.internal} - - {domain: nexus.kmlabz.com, ip: nexus.stargate.internal} - - {domain: registry.kmlabz.com, ip: nexus.stargate.internal} - - {domain: swagger.kmlabz.com, ip: swagger.stargate.internal} + - {domain: bitwarden.tormakristof.eu, ip: bitwarden.intra.tormakris.dev} + - {domain: nextcloud.tormakristof.eu, ip: nextcloud.intra.tormakris.dev} + - {domain: drone.kmlabz.com, ip: drone.intra.tormakris.dev} + - {domain: git.kmlabz.com, ip: git.intra.tormakris.dev} + - {domain: guacamole.kmlabz.com, ip: guacamole.intra.tormakris.dev} + - {domain: keycloak.kmlabz.com, ip: keycloak.intra.tormakris.dev} + - {domain: nexus.kmlabz.com, ip: nexus.intra.tormakris.dev} + - {domain: registry.kmlabz.com, ip: nexus.intra.tormakris.dev} + - {domain: swagger.kmlabz.com, ip: swagger.intra.tormakris.dev} static: - {domain: kmlabz.com, directory: /var/www/kmlabz.com, repo: "https://git.kmlabz.com/kmlabz/homepage.git"}