install ansible step
Some checks failed
Build, Test & Publish / Build (push) Successful in 18s
Build, Test & Publish / Build and Publish Container Image (push) Successful in 24s
Build, Test & Publish / Deploy to Infrastructure (push) Failing after 2m16s

This commit is contained in:
Liam Pietralla 2024-09-05 14:27:01 +10:00
parent 1eaf4073ad
commit 3188c2cbee

View File

@ -86,6 +86,12 @@ jobs:
echo "[app]" > hosts.ini echo "[app]" > hosts.ini
echo "$APP_HOST" >> hosts.ini echo "$APP_HOST" >> hosts.ini
- name: Install Ansible
run: |
sudo apt-add-repository ppa:ansible/ansible -y
sudo apt-get update -y
sudo apt-get install ansible -y
- name: Run Ansible Playbook to Configure Servers - name: Run Ansible Playbook to Configure Servers
run: | run: |
export ANSIBLE_HOST_KEY_CHECKING=False # Disable host key checking export ANSIBLE_HOST_KEY_CHECKING=False # Disable host key checking