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