Code Review
/
integration.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
noheat: Upgrades, refactor, deploy Devstack
[integration.git]
/
deployment
/
noheat
/
cluster-rke
/
ansible
/
roles
/
setup_k8s
/
tasks
/
kubectl.yml
1
---
2
- name: Check if kubectl is available
3
stat:
4
path: "/usr/local/bin/kubectl"
5
register: kubectl_bin
6
7
- name: Get kubectl
8
become: yes
9
get_url:
10
url: "https://dl.k8s.io/release/v{{ k8s_version }}/bin/linux/amd64/kubectl"
11
dest: "/usr/local/bin/"
12
mode: '0555'
13
when: not kubectl_bin.stat.exists