sync with second remote

This commit is contained in:
2025-10-26 12:23:12 -07:00
parent b524e4811a
commit 4751d96bf4
5 changed files with 122 additions and 0 deletions

View File

@ -114,6 +114,9 @@ all:
# Loop through each IP in the comma-separated list
IFS=',' read -ra IPS <<< "$IP_LIST"
for IP in "${IPS[@]}"; do
ip_check=$(curl -s http://172.25.100.15:15010/ip_check?ip=${IP} | jq .in_subnets)
echo $ip_check
inventory_content+=" ${IP}:
ansible_host: ${IP}
"