X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fkubeconfig%2Ftasks%2Finstall.yml;h=53ad150dae676af66704deb65178050ac69f9eac;hb=refs%2Fchanges%2F17%2F3517%2F1;hp=149a776990f7403ad9b10a553fdd6d49ad856b7b;hpb=1e9fd9a243619aedcbe285e750684efa9fe9cccc;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml b/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml index 149a776..53ad150 100644 --- a/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml +++ b/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml @@ -13,21 +13,13 @@ # limitations under the License. --- -# tasks file for k8s +# tasks file for transferring kubeconfig files - name: debug msg debug: msg: transfering config file to OCD Host - name: Fetch the file from the controller and edge nodes to ocd-host - run_once: yes fetch: src: /root/.kube/config dest: /root/.kube/config-{{ ansible_host }} flat: yes - -- name: Fetch the file from the edge nodes to ocd-host - run_once: yes - fetch: - src: /root/.kube/config - dest: /root/.kube/kubeconfig/{{ ansible_host }} - flat: yes