Skip to content
Snippets Groups Projects
Verified Commit 46ac478c authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

remove reference to removed namespaces.yml

parent 4830f8b7
No related branches found
No related tags found
No related merge requests found
---
- import_tasks: k3s.yml
- import_tasks: krew.yml
- import_tasks: namespaces.yml
---
- name: Check if there is an cluster.rkestate at the old location (/oas/control/local/rke/)
stat: path=/oas/control/local/rke/cluster.rkestate
register: old_cluster_rkestate
- name: Move rke cluster state file from old to new location
command: mv /oas/control/local/rke/cluster.rkestate /var/lib/OpenAppStack/rke/cluster.rkestate
when: old_cluster_rkestate.stat.exists
- name: Build Cluster
tags:
- rke
shell: /usr/local/bin/rke up --config={{ data_directory }}/rke/cluster.yml | systemd-cat -t rke
- name: Ensure /root/.kube directory
tags:
- rke
- kubectl
file:
state: directory
path: /root/.kube
- name: Link kubernetes config generated by rke
tags:
- rke
- kubectl
file:
state: link
src: "{{ data_directory }}/rke/kube_config_cluster.yml"
dest: /root/.kube/config
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment