diff --git a/.github/workflows/packages_builder_ami.yaml b/.github/workflows/packages_builder_ami.yaml index 44bb042..e72d9ee 100644 --- a/.github/workflows/packages_builder_ami.yaml +++ b/.github/workflows/packages_builder_ami.yaml @@ -80,7 +80,9 @@ jobs: echo WAZUH_VERSION=$WAZUH_VERSION >> $GITHUB_ENV - name: Install Ansible - run: sudo apt-get update && sudo apt install -y python3.10 && python3 -m pip install --user ansible-core==2.16 + run: | + sudo add-apt-repository ppa:deadsnakes/ppa + sudo apt-get update && sudo apt install -y python3.10.6 && python3 -m pip install --user ansible-core==2.16 - name: Ansible version run: ansible --version