forked from ansible-lockdown/RHEL9-CIS
changed way key is loaded
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
0c3c26e11b
commit
a2945a6d3a
1 changed files with 10 additions and 0 deletions
10
.github/workflows/linux_benchmark_testing.yml
vendored
10
.github/workflows/linux_benchmark_testing.yml
vendored
|
|
@ -86,6 +86,16 @@ jobs:
|
||||||
working-directory: .github/workflows
|
working-directory: .github/workflows
|
||||||
run: cat hosts.yml
|
run: cat hosts.yml
|
||||||
|
|
||||||
|
# Ensure system is up for connections before continuing
|
||||||
|
|
||||||
|
- name: Check system is up and running
|
||||||
|
working-directory: .github/workflows
|
||||||
|
env:
|
||||||
|
PRIVATE_KEY: "${{ secrets.SSH_PRV_KEY }}"
|
||||||
|
id: test_os
|
||||||
|
run: >-
|
||||||
|
ansible all -i hosts.yml -m wait_for -a "port=22 delay=10 timeout=600" --private-key=.ssh/github_actions.pem -u ec2-user -e ansible_ssh_private_key_file='{{ lookup("env", "PRIVATE_KEY") }}'
|
||||||
|
|
||||||
# Run the ansible playbook
|
# Run the ansible playbook
|
||||||
- name: Run_Ansible_Playbook
|
- name: Run_Ansible_Playbook
|
||||||
uses: arillso/action.playbook@master
|
uses: arillso/action.playbook@master
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue