Skip to content

Commit

Permalink
install python3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosALgit committed Oct 14, 2024
1 parent da5811e commit 3c2b173
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/packages_builder_ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 && sudo apt install pipx && pipx ensurepath && pipx install ansible-core==2.16
run: sudo apt-get update && sudo apt install -y python3.10 && python3 -m pip install --user ansible-core==2.16

- name: Ansible version
run: ansible --version
Expand All @@ -95,9 +95,7 @@ jobs:

- name: Install and set allocator requirements
run: |
while IFS= read -r package; do
pipx install "$package"
done < wazuh-automation/deployability/deps/requirements.txt
pip3 install -r wazuh-automation/deployability/deps/requirements.txt
- name: Execute allocator module that will create the base instance
id: alloc_vm_ami
Expand Down

0 comments on commit 3c2b173

Please sign in to comment.