This is an automated email from the ASF dual-hosted git repository.

houshengbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b9fe25  skip pull runtimes when skip_pull_runtimes is true (#3784)
4b9fe25 is described below

commit 4b9fe25b80b2f1681ee2473cc7d6327b0c37edf8
Author: Carlos Santana <[email protected]>
AuthorDate: Tue Jun 19 12:58:54 2018 -0400

    skip pull runtimes when skip_pull_runtimes is true (#3784)
---
 ansible/roles/invoker/tasks/deploy.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansible/roles/invoker/tasks/deploy.yml 
b/ansible/roles/invoker/tasks/deploy.yml
index 0f8fd1e..98af399 100644
--- a/ansible/roles/invoker/tasks/deploy.yml
+++ b/ansible/roles/invoker/tasks/deploy.yml
@@ -23,7 +23,7 @@
 - name: "pull runtime action images per manifest"
   shell: "docker pull {{runtimes_registry | 
default()}}{{item.prefix}}/{{item.name}}:{{item.tag | default()}}"
   with_items: "{{ runtimesManifest.runtimes.values() | sum(start=[]) | 
selectattr('deprecated', 'equalto',false)  | map(attribute='image') | list | 
unique }}"
-  when: skip_pull_runtimes is not defined or skip_pull_runtimes == True
+  when: skip_pull_runtimes is not defined or skip_pull_runtimes != True
   retries: "{{ docker.pull.retries }}"
   delay: "{{ docker.pull.delay }}"
 
@@ -34,7 +34,7 @@
   shell: "docker pull {{runtimes_registry | 
default()}}{{item.prefix}}/{{item.name}}:{{item.tag | default()}}"
   with_items:
     - "{{ runtimesManifest.blackboxes }}"
-  when: skip_pull_runtimes is not defined or skip_pull_runtimes == True
+  when: skip_pull_runtimes is not defined or skip_pull_runtimes != True
   retries: "{{ docker.pull.retries }}"
   delay: "{{ docker.pull.delay }}"
 

Reply via email to