From: Srinivasan Date: Thu, 7 Jan 2021 06:52:21 +0000 (+0530) Subject: kubeconfig file copy issue fix X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=233cdcb649dae8d2365494f40b23087ecceb870f;p=ealt-edge.git kubeconfig file copy issue fix Signed-off-by: Srinivasan Change-Id: Ibe45a2836176d6a8a9b3c0bb7862370936975407 --- diff --git a/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml b/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml index 53ad150..b6762ce 100644 --- a/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml +++ b/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml @@ -18,6 +18,12 @@ debug: msg: transfering config file to OCD Host +- name: access k8s from ocd using config file copy from center or edge + fetch: + src: /root/.kube/config + dest: /root/.kube/config + flat: yes + - name: Fetch the file from the controller and edge nodes to ocd-host fetch: src: /root/.kube/config