main
David Vargas 2022-11-25 13:21:17 +00:00
parent 7bbe334271
commit eb2f50c025
2 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ settings = YAML.load(File.read(filename))
services = settings["services"]
services.each_pair do |key, value|
puts "==> #{key} [#{value['hetzner']}] "
puts "==> #{key} [#{value['hetzner']}] ".colorize(:white)
cmd = "host #{value['ip']}| grep #{value['hostname']}| wc -l"
counter = %x[#{cmd}].to_i
if counter.zero?