Petr OspalĂ˝ | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 1 | --- |
| 2 | - name: Run rke up |
| 3 | command: "{{ rke_bin_dir }}/rke up --config cluster.yml" |
| 4 | args: |
| 5 | chdir: "{{ cluster_config_dir }}" |
Michal Zegan | 119f760 | 2019-04-23 16:34:58 +0200 | [diff] [blame] | 6 | |
| 7 | - name: Ensure .kube directory is present |
| 8 | file: |
| 9 | path: "{{ kube_config_dir }}" |
| 10 | state: directory |
| 11 | |
| 12 | - name: Setup kubeconfig |
| 13 | copy: |
| 14 | src: "{{ cluster_config_dir }}/kube_config_cluster.yml" |
| 15 | dest: "{{ kube_config_dir }}/config" |
| 16 | remote_src: true |
| 17 | mode: 0755 |