ansible ssh debug, copy step for private key, verbose ssh connection check
All checks were successful
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 6m52s
All checks were successful
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 6m52s
This commit is contained in:
parent
08ea840c99
commit
a12732a7b9
@ -11,12 +11,17 @@
|
||||
linode: {}
|
||||
|
||||
tasks:
|
||||
- name: ssh key setup
|
||||
copy:
|
||||
content: |
|
||||
{{ lookup('env', 'ACT_RUNNER_DEPLOY_KEY') }}
|
||||
dest: "~/.ssh/id_ed25519"
|
||||
|
||||
- name: Confirm we can reach
|
||||
command:
|
||||
cmd: |
|
||||
echo {{ lookup('env', 'ACT_RUNNER_DEPLOY_KEY') }} > ~/.ssh/id_ed25519
|
||||
ssh-add ~/.ssh/id_ed25519
|
||||
ssh -o StrictHostKeyChecking=accept-new -T root@{{ lookup('env', 'TARGET_IP_ADDRESS') }}
|
||||
ssh -vv -o StrictHostKeyChecking=accept-new -T root@{{ lookup('env', 'TARGET_IP_ADDRESS') }}
|
||||
retries: 12
|
||||
delay: 10
|
||||
register: isping
|
||||
|
||||
Loading…
Reference in New Issue
Block a user