From 23e3ca6a1d4b1ff6dceb78767e8b92342d4c7c38 Mon Sep 17 00:00:00 2001 From: David Vargas Date: Fri, 25 Nov 2022 12:36:23 +0000 Subject: [PATCH] [U] . --- test/services.rb | 11 +++++------ test/services.yaml | 12 +++++++++--- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/test/services.rb b/test/services.rb index a5e14ea..53a7ceb 100755 --- a/test/services.rb +++ b/test/services.rb @@ -6,14 +6,13 @@ settings = YAML.load(File.read(filename)) services = settings["services"] services.each_pair do |key, value| - print "==> #{key} " + puts "==> #{key} " cmd = "host #{value['ip']}| grep #{value['hostname']}| wc -l" counter = %x[#{cmd}].to_i if counter.zero? - puts "(ERROR: IP <=> hostname)" - puts " hostname = #{value['hostname']}" - puts " ip = #{value['ip']}" - else - puts "(Ok)" + puts " Check this:" + puts " * hostname = #{value['hostname']}" + puts " * ip = #{value['ip']}" end + puts " TODO: #{value['todo']}" if value['todo'] end diff --git a/test/services.yaml b/test/services.yaml index c7527ca..634d574 100644 --- a/test/services.yaml +++ b/test/services.yaml @@ -1,6 +1,6 @@ services: mini: - state: revise + todo: Eliminar la MV hetzner: docus hostname: editor.educar.encanarias.info ip: 78.46.183.113 @@ -19,18 +19,24 @@ services: - Documentos en la nube - Collabora mailu19: + todo: No tiene nombre DNS asignado a la IP hetzner: txs - hostname: mailugit.txs.es - ip: 78.47.176.180 + hostname: static.18.144.90.157.clients.your-server.de1 + ip: 157.90.144.18 jekyll-www: + state: revise + hetzner: txs hostname: www.txs.es ip: 142.132.231.21 acceso-keycloak: + hetzner: txs hostname: acceso.txs.es ip: 138.201.157.15 correo: + hetzner: txs hostname: correo.txs.es ip: 88.99.189.54 git: + hetzner: txs hostname: git.txs.es ip: 78.47.176.180