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

View file

@ -89,12 +89,12 @@ jobs:
# 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" -u ec2-user -e ansible_ssh_private_key_file='{{ lookup("env", "PRIVATE_KEY") }}'
# - 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" -u ec2-user -e ansible_ssh_private_key_file='{{ lookup("env", "PRIVATE_KEY") }}'
# Run the ansible playbook
- name: Run_Ansible_Playbook