feat: install six on host machine
Some checks failed
Provision & Configure / Terraform Apply (push) Failing after 1m2s
Some checks failed
Provision & Configure / Terraform Apply (push) Failing after 1m2s
This commit is contained in:
@@ -3,8 +3,21 @@
|
|||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- docker
|
- docker
|
||||||
|
- geerlingguy.pip
|
||||||
|
vars:
|
||||||
|
pip_install_packages:
|
||||||
|
- name: docker
|
||||||
|
- name: requests
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Ensure Python 3 and pip are installed
|
||||||
|
ansible.builtin.raw: |
|
||||||
|
sudo apt update && sudo apt install -y python3 python3-pip
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
|
# - name: Install 'six' module
|
||||||
|
# ansible.builtin.pip:
|
||||||
|
# name: six
|
||||||
|
|
||||||
- name: Delete existing hello world container
|
- name: Delete existing hello world container
|
||||||
community.docker.docker_container:
|
community.docker.docker_container:
|
||||||
name: "les-06"
|
name: "les-06"
|
||||||
|
1
ansible/requirements.yml
Normal file
1
ansible/requirements.yml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
- src: geerlingguy.pip
|
Reference in New Issue
Block a user