Michal Zegan | 6c1f5fa | 2018-12-19 11:54:26 +0100 | [diff] [blame] | 1 | --- |
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 Silvius | c580efe | 2019-03-17 18:06:33 +0200 | [diff] [blame^] | 8 | |
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" |