ssh -T step retries
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 5m17s

This commit is contained in:
Mike Holloway committed 2025-01-07 07:00:01 -05:00
1 parent 664b12e508
commit 2522389d35
1 file changed
+4 -1
+4 -1
View File
@@ -13,8 +13,11 @@
tasks:
- name: Confirm we can reach
command:
cmd: "ssh -o ConnectTimeout=300 -T root@{{ lookup('env', 'TARGET_IP_ADDRESS') }}"
cmd: "ssh -T root@{{ lookup('env', 'TARGET_IP_ADDRESS') }}"
retries: 3
delay: 5
register: isping
until: isping.rc == 0
- debug:
msg: |