From d5b99433d87beb036d27041082a4183be390d310 Mon Sep 17 00:00:00 2001 From: dede Date: Wed, 25 Sep 2024 23:52:32 +0200 Subject: [PATCH] some cosmetic changes --- galaxy.yml | 2 +- roles/docker/handlers/main.yml | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/galaxy.yml b/galaxy.yml index a849e25..1ea0a68 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -34,7 +34,7 @@ license_file: 'LICENSE.md' # A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character # requirements as 'namespace' and 'name' -tags: [ 'tools', 'linux' ] +tags: ['tools', 'linux'] # Collections that this collection requires to be installed for it to be usable. The key of the dict is the # collection label 'namespace.name'. The value is a version range diff --git a/roles/docker/handlers/main.yml b/roles/docker/handlers/main.yml index fda0e35..d92576a 100644 --- a/roles/docker/handlers/main.yml +++ b/roles/docker/handlers/main.yml @@ -1,18 +1,17 @@ --- -# TODO this is yet unused - name: test docker setup become: true community.docker.docker_container: - name: test-docker - image: hello-world state: started + name: hello-world + image: hello-world 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 + name: hello-world + image: hello-world + when: docker_test is changed