fix: install python with packages
This commit is contained in:
@@ -13,15 +13,9 @@
|
|||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Ensure python3 and pip are available
|
- name: Ensure python3 and pip are available
|
||||||
ansible.builtin.raw: |
|
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
|
changed_when: false
|
||||||
|
|
||||||
- name: Install 'six' module using apt
|
|
||||||
ansible.builtin.apt:
|
|
||||||
name: python3-six
|
|
||||||
state: present
|
|
||||||
update_cache: true
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Manually gather facts after 'six' is installed
|
- name: Manually gather facts after 'six' is installed
|
||||||
ansible.builtin.setup:
|
ansible.builtin.setup:
|
||||||
|
Reference in New Issue
Block a user