sync with second remote
This commit is contained in:
@ -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}
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user