Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Modifed playbooks to support multiple edge
[ealt-edge.git]
/
ocd
/
infra
/
playbooks
/
roles
/
kubeconfig
/
tasks
/
install.yml
diff --git
a/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml
b/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml
index
149a776
..
53ad150
100644
(file)
--- 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.
---
# limitations under the License.
---
-# tasks file for
k8
s
+# tasks file for
transferring kubeconfig file
s
- name: debug msg
debug:
msg: transfering config file to OCD Host
- name: Fetch the file from the controller and edge nodes to ocd-host
- 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
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