1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-08-04 21:35:24 +02:00
This commit is contained in:
dbarzin 2023-02-13 21:54:50 +01:00
parent e39b4ccdf4
commit 5c84d4496e

View file

@ -24,3 +24,21 @@ jobs:
run: |
echo IP Adress is: ${{ env.ip_address }}
- name: Restart and wait on server
shell: sleep 2 && shutdown -r now
async: 1
poll: 0
ignore_errors: true
- name: Wait on server to return
local_action:
module: wait_for
host={{ env.ip_address }}
port=22
delay=60
timeout=300
- name: Done
run: |
echo "Done."