Skip to content

Commit

Permalink
Added Calicoctl to deployment of Master Nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentS committed May 18, 2017
1 parent e748591 commit 79be160
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/calico_master/defaults/main.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
---
kubeconfig: "{{ openshift.common.config_base }}/master/openshift-master.kubeconfig"

calicoctl_bin_dir: "/usr/local/bin/"

calico_url_calicoctl: "https://github.com/projectcalico/calicoctl/releases/download/v1.1.3/calicoctl"
7 changes: 7 additions & 0 deletions roles/calico_master/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,10 @@
resource_kind: scc
resource_name: privileged
state: present

- name: Download Calicoctl
become: yes
get_url:
url: "{{ calico_url_calicoctl }}"
dest: "{{ calicoctl_bin_dir }}"
mode: a+x

0 comments on commit 79be160

Please sign in to comment.