aboutsummaryrefslogtreecommitdiffstats
path: root/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/foldersettings.yml
blob: 1a8c18794384f8877d53689b768adb868709ade8 (plain)
1
2
3
4
5
6
7
8
9
10
---
- name: .kube directory creation in $HOME/
  file:
    path: $HOME/.kube
    state: directory

- name: Copying required files
  shell: |
   sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
   sudo chown $(id -u):$(id -g) $HOME/.kube/config