docker: Tag complete docker playbook as docker

If we only tag the geerlingguy docker 'role' as docker we do not always
install the necessary python dependencies for later working with ansible
docker compose and network roles.

Applying the docker tag to them we can target '--tags=docker' on
playbook run and be sure that all later roles will have the correct
dependencies.
This commit is contained in:
Marty Oehme 2025-07-19 08:53:51 +02:00
parent 5b7f80bd29
commit 8dafc38a83
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -16,11 +16,11 @@
# ansible-galaxy install geerlingguy.docker
- name: Install docker
hosts: instance_system
tags: docker
tasks:
- name: Install docker and docker compose
ansible.builtin.import_role:
name: geerlingguy.docker
tags: docker
- name: Install docker python requirements
ansible.builtin.package: