This commit is contained in:
tolerryan
2024-11-04 23:17:30 -06:00
parent 082bfd80ec
commit e2a8d6f9f4

View File

@@ -1,6 +1,6 @@
$!/bin/bash
#!/bin/bash
ipnet = $1
ip = "${ipnet:0:${#ipnet}-4}"
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