From 3188c2cbee18d9425874b1708587a1eb02082ef2 Mon Sep 17 00:00:00 2001 From: Liam Pietralla Date: Thu, 5 Sep 2024 14:27:01 +1000 Subject: [PATCH] install ansible step --- .github/workflows/pipeline.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 2082aad..e7b0982 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -86,6 +86,12 @@ jobs: echo "[app]" > 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 run: | export ANSIBLE_HOST_KEY_CHECKING=False # Disable host key checking