This commit is contained in:
tolerryan
2024-11-04 23:18:37 -06:00
parent e2a8d6f9f4
commit 067a2454e9

View File

@@ -1,6 +1,6 @@
#!/bin/bash
ipnet = $1
ip = "${ipnet:0:${#ipnet}-4}"s
ip = ${ipnet:0:${#ipnet}-4}s
until timeout 5 bash -c "</dev/tcp/$ip/22"; do
ansible-playbook --key-file "~/.ssh/setuproot.key.priv" -i $ip, ./.ansible.d/setup.yml
sleep 1