added private key options

This commit is contained in:
uk-bolly 2022-07-26 12:50:43 +01:00 committed by GitHub
parent 15a6cf4c3d
commit 4c287c7db0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ jobs:
working-directory: .github/workflows
id: test_os
run: >-
ansible all -i hosts.yml -m wait_for -a "port=22 connect_timeout=10 delay=10 timeout=300 sleep=5"
ansible all -i hosts.yml -m wait_for -a "port=22 connect_timeout=10 delay=10 timeout=300 sleep=5" --private-key=.ssh/github_actions.pem
# Run the ansible playbook
- name: Run_Ansible_Playbook