blob: 9ecb5c44f41cbd588d866d7a5cf132af2de23861 [file] [log] [blame]
Michal Zegan6c1f5fa2018-12-19 11:54:26 +01001---
2- name: Install kubectl
3 copy:
4 src: "{{ app_data_path }}/downloads/kubectl"
5 dest: "{{ kubectl_bin_dir }}/kubectl"
6 remote_src: true
7 mode: 0755
Samuli Silviusc580efe2019-03-17 18:06:33 +02008
9- name: Ensure .kube directory exists
10 file:
11 path: "{{ kube_directory }}"
12 state: directory
13
14- name: Create kube config
15 template:
16 src: kube_config.j2
17 dest: "{{ kube_directory }}/config"