From 1f7a42f3a45d939a7b67e3b0b8c3d6213e9048ac Mon Sep 17 00:00:00 2001
From: Takashi Okamoto <toraneko@gmail.com>
Date: Sat, 28 Jul 2018 20:21:50 -0400
Subject: [PATCH] Fixed checking skip_downloads condition.

---
 cluster.yml         | 2 +-
 scale.yml           | 2 +-
 upgrade-cluster.yml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cluster.yml b/cluster.yml
index c77e9e1b5..51165ef08 100644
--- a/cluster.yml
+++ b/cluster.yml
@@ -37,7 +37,7 @@
     - role: rkt
       tags: rkt
       when: "'rkt' in [etcd_deployment_type, kubelet_deployment_type, vault_deployment_type]"
-    - { role: download, tags: download, skip_downloads: false }
+    - { role: download, tags: download, when: "skip_downloads == 'false'" }
   environment: "{{proxy_env}}"
 
 - hosts: etcd:k8s-cluster:vault:calico-rr
diff --git a/scale.yml b/scale.yml
index 3f8613011..73158a663 100644
--- a/scale.yml
+++ b/scale.yml
@@ -32,7 +32,7 @@
     - role: rkt
       tags: rkt
       when: "'rkt' in [etcd_deployment_type, kubelet_deployment_type, vault_deployment_type]"
-    - { role: download, tags: download, skip_downloads: false }
+    - { role: download, tags: download, when: "skip_downloads == 'false'" }
     - { role: etcd, tags: etcd, etcd_cluster_setup: false }
     - { role: vault, tags: vault, when: "cert_management == 'vault'"}
     - { role: kubernetes/node, tags: node }
diff --git a/upgrade-cluster.yml b/upgrade-cluster.yml
index 9e858acd3..a6b7875e1 100644
--- a/upgrade-cluster.yml
+++ b/upgrade-cluster.yml
@@ -38,7 +38,7 @@
     - role: rkt
       tags: rkt
       when: "'rkt' in [etcd_deployment_type, kubelet_deployment_type, vault_deployment_type]"
-    - { role: download, tags: download, skip_downloads: false }
+    - { role: download, tags: download, when: "skip_downloads == 'false'" }
   environment: "{{proxy_env}}"
 
 - hosts: etcd:k8s-cluster:vault
-- 
GitLab