Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG committed Sep 13, 2019
1 parent 2852a2a commit 2dcd187
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions menu/roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@
status_docker.rc != 0 and ("could not be found" not in status_docker.stderr)
changed_when: false

- name: Stop service Docker, if started
service:
name: docker
state: restarted
- name: "Docker is installed and working"
- debug:
msg:
- " docker is running and works !"
- " install docker is done"
when: "status_docker.rc == 0"

0 comments on commit 2dcd187

Please sign in to comment.