4
0
Fork 0
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-07-29 10:05:27 +01:00
parent d87812bab4
commit 54aa47c931
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB

View file

@ -88,12 +88,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
env: # env:
PRIVATE_KEY: "${{ secrets.SSH_PRV_KEY }}" # PRIVATE_KEY: "${{ secrets.SSH_PRV_KEY }}"
id: test_os # 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: 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 # Run the ansible playbook
- name: Run_Ansible_Playbook - name: Run_Ansible_Playbook