[U] .
parent
674a24a19e
commit
23e3ca6a1d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue