ssh -T step retries
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 5m17s
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 5m17s
This commit is contained in:
1 parent
664b12e508
commit
2522389d35
1 file changed
+4
-1
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user