[Git][root/dbroot/postgresql-sync-config][main] it should work

bpt22 pushed to branch main at Root / DBRoot / PostgreSQL Commits: 1c837258 by Bernardo Pavloski Tomasi at 2025-08-01T21:50:32-03:00 it should work - - - - - 1 changed file: - ansible/verify-hostnames.sh Changes: ===================================== ansible/verify-hostnames.sh ===================================== @@ -61,9 +61,7 @@ verify_hostname() { echo "Checking $host" local host=$1 - local ipv4=$(dig A "$host" @"$DNS_SERVER" +short 2> /dev/null) - local ipv6=$(dig AAAA "$host" @"$DNS_SERVER" +short 2> /dev/null) - local ip_addrs=("${ipv4[@]}" "${ipv6[@]}") + local ip_addrs=$(dig +short @"$DNS_SERVER" A "$host" AAAA "$host" 2> /dev/null) if [ -n "$ip_addrs" ]; then for ip_addr in $ip_addrs; do View it on GitLab: https://gitlab.c3sl.ufpr.br/root/dbroot/postgresql-sync-config/-/commit/1c83... -- View it on GitLab: https://gitlab.c3sl.ufpr.br/root/dbroot/postgresql-sync-config/-/commit/1c83... You're receiving this email because of your account on gitlab.c3sl.ufpr.br.
participantes (1)
-
bpt22 (@bpt22)