summaryrefslogtreecommitdiffstats
path: root/roles/calico/tasks
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-05-17 10:32:07 +0200
committerGitHub <noreply@github.com>2017-05-17 10:32:07 +0200
commit415b1233d09c2f38dffe3b73b59152f2fadd1888 (patch)
tree2828b1fd88fa78772447905f30e6388185927366 /roles/calico/tasks
parentbbb54088844b862e6c0b28b1606d3ca3cea76490 (diff)
parentdf72177ecfc8d03cb29d6f3d7c612f6f198aa4a9 (diff)
downloadopenshift-415b1233d09c2f38dffe3b73b59152f2fadd1888.tar.gz
openshift-415b1233d09c2f38dffe3b73b59152f2fadd1888.tar.bz2
openshift-415b1233d09c2f38dffe3b73b59152f2fadd1888.tar.xz
openshift-415b1233d09c2f38dffe3b73b59152f2fadd1888.zip
Merge pull request #4144 from VincentS/Calico_Remove_Hardcoded_URLs
Removed Hardcoded URLs in Calico Role
Diffstat (limited to 'roles/calico/tasks')
-rw-r--r--roles/calico/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/calico/tasks/main.yml b/roles/calico/tasks/main.yml
index 287fed321..abdbcf8d6 100644
--- a/roles/calico/tasks/main.yml
+++ b/roles/calico/tasks/main.yml
@@ -46,14 +46,14 @@
- name: Download Calico CNI Plugin
become: yes
get_url:
- url: https://github.com/projectcalico/cni-plugin/releases/download/v1.5.5/calico
+ url: "{{ calico_url_cni }}"
dest: "{{ cni_bin_dir }}"
mode: a+x
- name: Download Calico IPAM Plugin
become: yes
get_url:
- url: https://github.com/projectcalico/cni-plugin/releases/download/v1.5.5/calico-ipam
+ url: "{{ calico_url_ipam }}"
dest: "{{ cni_bin_dir }}"
mode: a+x
@@ -61,7 +61,7 @@
become: yes
unarchive:
remote_src: True
- src: https://github.com/containernetworking/cni/releases/download/v0.4.0/cni-amd64-v0.4.0.tgz
+ src: "{{ cni_url }}"
dest: "{{ cni_bin_dir }}"
- name: Assure Calico conf dir exists