Private key check using HOME env var, reach test output cleanup
All checks were successful
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Successful in 4m52s

This commit is contained in:
Mike Holloway 2025-01-07 19:00:25 -05:00
parent 5ebaffdba2
commit 4430880f8f

View File

@ -24,7 +24,7 @@
- debug:
msg: |
"{{ isping.failed }}"
isping.failed: "{{ isping.failed }}"
- name: Fail if instance is not running
when: isping.failed
@ -37,8 +37,9 @@
children:
linode:
hosts:
"{{ lookup('env', 'TARGET_IP_ADDRESS') }}":
ansible_ssh_private_key_file: "{{ lookup('env', 'GITHUB_WORKSPACE') }}/.ssh/id_ed25519"
testlinode:
ansible_host: "{{ lookup('env', 'TARGET_IP_ADDRESS') }}"
ansible_ssh_private_key_file: "{{ lookup('env', 'HOME') }}/.ssh/id_ed25519"
ansible_user: root
ansible_connection: ssh
service_users: