fix: install python manually
This commit is contained in:
@ -3,12 +3,24 @@
|
|||||||
become: true
|
become: true
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
roles:
|
roles:
|
||||||
- geerlingguy.pip
|
# - geerlingguy.pip
|
||||||
- docker
|
- docker
|
||||||
vars:
|
vars:
|
||||||
pip_install_use: apt
|
pip_install_use: apt
|
||||||
pip_install_packages:
|
# pip_install_packages:
|
||||||
- name: six
|
# - 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:
|
tasks:
|
||||||
- name: Manually gather facts after 'six' is installed
|
- name: Manually gather facts after 'six' is installed
|
||||||
|
Reference in New Issue
Block a user