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:
parent
5b7f80bd29
commit
8dafc38a83
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue