blob: 9983d08adf230c3a38bd53aa5ef4ebc98c09ebbe [file] [log] [blame]
Petr Ospalýfe49ee92019-04-20 00:53:01 +02001---
2- name: Run rke up
3 command: "{{ rke_bin_dir }}/rke up --config cluster.yml"
4 args:
5 chdir: "{{ cluster_config_dir }}"
Michal Zegan119f7602019-04-23 16:34:58 +02006
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