add handlers for docker role (unused yet)

This commit is contained in:
2023-10-07 00:10:59 +02:00
parent 754113bb99
commit 69da42f990

View File

@@ -0,0 +1,18 @@
---
# TODO this is yet unused
- name: test docker setup
become: true
community.docker.docker_container:
name: test-docker
image: hello-world
state: started
register: docker_test
when: docker_install is changed
- name: remove test container
become: true
community.docker.docker_container:
name: test-docker
image: hello-world
state: absent
when: docker_install is changed