added private key

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-07-26 12:49:23 +01:00
parent 1c0714b3fb
commit 14b5001f8e
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB

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=600 sleep=5"
ansible all -i hosts.yml -m wait_for -a "port=22 connect_timeout=10 delay=10 timeout=600 sleep=5" --private-key=.ssh/github_actions.pem
# Run the ansible playbook
- name: Run_Ansible_Playbook