diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-02-09 16:46:12 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-02-09 16:46:12 -0500 |
commit | fac617ccd740f3f50d4d259c79de906f2c3bdb98 (patch) | |
tree | 91e12785df528f0fe872c6289d7c9ead1ed14171 | |
parent | 91bf0d3a0c9e91799ad3f2b8e5058cf4f877262d (diff) | |
download | playbooks-fac617ccd740f3f50d4d259c79de906f2c3bdb98.tar.gz playbooks-fac617ccd740f3f50d4d259c79de906f2c3bdb98.tar.bz2 playbooks-fac617ccd740f3f50d4d259c79de906f2c3bdb98.zip |
roles/docker/alpine: Use docker container module
-rw-r--r-- | roles/docker/alpine.yml | 10 |
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 |