Skip to content
Snippets Groups Projects
Verified Commit f2471cb3 authored by Varac's avatar Varac
Browse files

Download kubectl config file during bootstrap

parent f36e1813
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@
# Ignore files created by ansible-playbook
*.retry
/ansible/secrets/
ansible/rke.log
/ansible/rke.log
/ansible/cluster_data/
test/rke.log
# Virtualenvs for the project
......
......@@ -29,3 +29,11 @@
state: link
src: /oas/control/local/rke/kube_config_cluster.yml
dest: /root/.kube/config
- name: Copy kubectl config to local host
tags:
- kubectl
fetch:
src: /oas/control/local/rke/kube_config_cluster.yml
dest: cluster_data/kubectl.cfg
flat: yes
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