summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorMichal Zegan <m.zegan@samsung.com>2018-12-19 11:54:26 +0100
committerMichal Zegan <m.zegan@samsung.com>2018-12-19 11:54:26 +0100
commit6c1f5fa97d1ed2d72ac259e22228aa39aa1a097f (patch)
tree0f8bf10a7cacf55766d40bb82482019b45076296 /ansible
parent6d14adbfcc125d3a17dd64ef1da0e3c2df27853f (diff)
Add ansible kubectl role
This role install kubectl tool. Change-Id: Ie446a68c94138593770f323ec3ee3dc607fdd8e0 Issue-ID: OOM-1551 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/kubectl/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/kubectl/tasks/main.yml b/ansible/roles/kubectl/tasks/main.yml
new file mode 100644
index 00000000..7c77c3c5
--- /dev/null
+++ b/ansible/roles/kubectl/tasks/main.yml
@@ -0,0 +1,7 @@
+---
+- name: Install kubectl
+ copy:
+ src: "{{ app_data_path }}/downloads/kubectl"
+ dest: "{{ kubectl_bin_dir }}/kubectl"
+ remote_src: true
+ mode: 0755