fix: install python manually
This commit is contained in:
@ -3,12 +3,24 @@
|
||||
become: true
|
||||
gather_facts: false
|
||||
roles:
|
||||
- geerlingguy.pip
|
||||
# - geerlingguy.pip
|
||||
- docker
|
||||
vars:
|
||||
pip_install_use: apt
|
||||
pip_install_packages:
|
||||
- name: six
|
||||
# pip_install_packages:
|
||||
# - name: six
|
||||
|
||||
pre_tasks:
|
||||
- name: Ensure python3 and pip are available
|
||||
ansible.builtin.raw: |
|
||||
sudo apt update && sudo apt install -y python3 python3-pip
|
||||
changed_when: false
|
||||
|
||||
- name: Install 'six' module
|
||||
ansible.builtin.raw: pip3 install six
|
||||
changed_when: false
|
||||
|
||||
|
||||
|
||||
tasks:
|
||||
- name: Manually gather facts after 'six' is installed
|
||||
|
Reference in New Issue
Block a user