summaryrefslogtreecommitdiff
path: root/roles/docker/alpine.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/docker/alpine.yml')
-rw-r--r--roles/docker/alpine.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/roles/docker/alpine.yml b/roles/docker/alpine.yml
index 98160a0..5e9c29e 100644
--- a/roles/docker/alpine.yml
+++ b/roles/docker/alpine.yml
@@ -31,9 +31,7 @@
state: started
enabled: yes
- - name: Running hello world test
- shell: docker run hello-world && touch /tmp/.docker-success
- register: output
- args:
- creates: /tmp/.docker-success
- - debug: var=output
+ - name: Running hello-world test
+ docker_container:
+ name: hello-world
+ image: hello-world