forked from ansible-lockdown/RHEL9-CIS
Changed way key is loaded
This commit is contained in:
parent
0747cc978a
commit
4e2fd296b6
1 changed files with 6 additions and 5 deletions
11
.github/workflows/linux_benchmark_testing.yml
vendored
11
.github/workflows/linux_benchmark_testing.yml
vendored
|
|
@ -89,11 +89,12 @@ jobs:
|
||||||
|
|
||||||
# Ensure system is up for connections before continuing
|
# Ensure system is up for connections before continuing
|
||||||
|
|
||||||
# - name: Check system is up and running
|
- name: Check system is up and running
|
||||||
# working-directory: .github/workflows
|
working-directory: .github/workflows
|
||||||
# id: test_os
|
env:
|
||||||
# run: >-
|
PRIVATE_KEY: "${{ secrets.SSH_PRV_KEY }}"
|
||||||
# ansible all -i hosts.yml -m wait_for -a "port=22 delay=10 timeout=600" --private-key=.ssh/github_actions.pem -u ec2-user -vvv
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue