fix: setup after role install

This commit is contained in:
Ditmar Visser
2025-06-11 15:11:00 +00:00
parent 7fd0247fcf
commit abe38919b6

View File

@ -1,22 +1,17 @@
- name: Configure Docker all hosts
hosts: all
become: true
gather_facts: false
roles:
- docker
- geerlingguy.pip
- docker
vars:
pip_install_packages:
- name: docker
- name: requests
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: six
# - name: Install 'six' module
# ansible.builtin.pip:
# name: six
tasks:
- name: Manually gather facts after 'six' is installed
ansible.builtin.setup:
- name: Delete existing hello world container
community.docker.docker_container: