Removed end_play condition
[ealt-edge.git] / ocd / infra / playbooks / roles / docker / tasks / install.yml
index caded2e..f474369 100644 (file)
 - name: Check whether docker is already installed
   command: which docker
   register: result
-  failed_when: false
+  ignore_errors: yes
   no_log: True
 
 - debug:
     msg: Docker is already present
   when: result.rc == 0
 
-- meta: end_play
-  when: result.rc == 0
-
 - name: "Installing docker update"
   command: apt-get update -y
   ignore_errors: yes