From 7fd0247fcf2558346d5c9f745cf8f7fb83a134d8 Mon Sep 17 00:00:00 2001 From: Ditmar Visser Date: Wed, 11 Jun 2025 15:06:35 +0000 Subject: [PATCH] fix: install roles on runner --- .gitea/workflows/provision_configure.yaml | 4 ++++ ansible/main.yml | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/provision_configure.yaml b/.gitea/workflows/provision_configure.yaml index 87335fb..8c38343 100644 --- a/.gitea/workflows/provision_configure.yaml +++ b/.gitea/workflows/provision_configure.yaml @@ -77,6 +77,10 @@ jobs: apt update apt install -y ansible + - name: Install Ansible Roles + run: | + ansible-galaxy install -r ../ansible/requirements.yml + - name: Run Ansible Playbook env: ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }} diff --git a/ansible/main.yml b/ansible/main.yml index 449987e..100f7cb 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -9,10 +9,10 @@ - name: docker - name: requests tasks: - - name: Ensure Python 3 and pip are installed - ansible.builtin.raw: | - sudo apt update && sudo apt install -y python3 python3-pip - changed_when: false + # - name: Ensure Python 3 and pip are installed + # ansible.builtin.raw: | + # sudo apt update && sudo apt install -y python3 python3-pip + # changed_when: false # - name: Install 'six' module # ansible.builtin.pip: