From 5d37bc20c5500e13679a2b77091fc4a2c2cb22c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Anguita=20L=C3=B3pez?= Date: Mon, 14 Oct 2024 11:35:21 +0200 Subject: [PATCH] added break-system-packages in pip commands --- .github/workflows/packages_builder_ami.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packages_builder_ami.yaml b/.github/workflows/packages_builder_ami.yaml index e62220b..23cf6fb 100644 --- a/.github/workflows/packages_builder_ami.yaml +++ b/.github/workflows/packages_builder_ami.yaml @@ -80,7 +80,7 @@ jobs: echo WAZUH_VERSION=$WAZUH_VERSION >> $GITHUB_ENV - name: Install Ansible - run: sudo apt-get update && sudo apt install -y python3 && python3 -m pip install --user ansible-core==2.16 + run: sudo apt-get update && sudo apt install -y python3 && python3 -m pip install --user ansible-core==2.16 --break-system-packages - name: Ansible version run: ansible --version @@ -95,7 +95,7 @@ jobs: - name: Install and set allocator requirements run: | - pip3 install -r wazuh-automation/deployability/deps/requirements.txt + pip3 install -r wazuh-automation/deployability/deps/requirements.txt --break-system-packages - name: Execute allocator module that will create the base instance id: alloc_vm_ami