fix: install python with packages

This commit is contained in:
Ditmar Visser
2025-06-11 17:14:09 +00:00
parent 3f28da065b
commit b03a3d5e47

View File

@ -13,15 +13,9 @@
pre_tasks:
- name: Ensure python3 and pip are available
ansible.builtin.raw: |
sudo apt update && sudo apt install -y python3 python3-pip
sudo apt update && sudo apt install -y python3 python3-pip python3-six
changed_when: false
- name: Install 'six' module using apt
ansible.builtin.apt:
name: python3-six
state: present
update_cache: true
tasks:
- name: Manually gather facts after 'six' is installed
ansible.builtin.setup: