You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/06/26 23:49:30 UTC

[GitHub] csantanapr commented on a change in pull request #3806: add register and until to ansible invoker pull runtime images tasks

csantanapr commented on a change in pull request #3806: add register and until to ansible invoker pull runtime images tasks
URL: https://github.com/apache/incubator-openwhisk/pull/3806#discussion_r198330370
 
 

 ##########
 File path: ansible/roles/controller/tasks/deploy.yml
 ##########
 @@ -13,10 +13,10 @@
       "{{ (controller_index_base|int) + host_group.index(inventory_hostname) }}"
 
 - name: "pull the {{ docker.image.tag }} image of controller"
-  shell:
-    docker pull
-    {{ docker_registry~docker.image.prefix }}/controller:{{docker.image.tag}}
+  shell: "docker pull {{docker_registry}}{{ docker.image.prefix }}/controller:{{docker.image.tag}}"
   when: docker_registry != ""
+  register: result
+  until: (result.rc == 0)
 
 Review comment:
   I'm confuse, the task only has one entry for retires `retries: "{{ docker.pull.retries }}"`
   
   Which other retries you are referring?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services