4
0
Fork 0
This commit is contained in:
uk-bolly 2022-07-29 10:01:54 +01:00 committed by GitHub
parent 4f325c435d
commit 07710c09b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ jobs:
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: ansible all -i hosts.yml -m wait_for -a "port=22 delay=10 timeout=600" -u ec2-user -e ansible_ssh_private_key_file='{{ lookup("env", "PRIVATE_KEY") }}'
# Run the ansible playbook
- name: Run_Ansible_Playbook