From: abhijit_onap Date: Wed, 27 May 2020 12:25:25 +0000 (+0530) Subject: Modifed playbooks to support multiple edge X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F17%2F3517%2F1;p=ealt-edge.git Modifed playbooks to support multiple edge Added message to print on which OS k3s is being installed. Signed-off-by: abhijit_onap Change-Id: Idb8b34524710c9b14c31e40f6416192f1c05e078 --- diff --git a/ocd/infra/playbooks/roles/k3s/tasks/install.yml b/ocd/infra/playbooks/roles/k3s/tasks/install.yml index 9860a39..bef74d9 100644 --- a/ocd/infra/playbooks/roles/k3s/tasks/install.yml +++ b/ocd/infra/playbooks/roles/k3s/tasks/install.yml @@ -32,6 +32,9 @@ - debug: var=ansible_host +- debug: + msg: K3 Installation started on {{ ansible_facts['distribution'] }} MEP Node + - name: "INSTALL: Disabling firewall for successfull k3s installation on CentOs" shell: cmd: systemctl stop firewalld diff --git a/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml b/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml index 2a0299a..53ad150 100644 --- a/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml +++ b/ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml @@ -19,7 +19,6 @@ 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 }} diff --git a/ocd/infra/playbooks/roles/mepkubeconfig/tasks/install.yml b/ocd/infra/playbooks/roles/mepkubeconfig/tasks/install.yml index 4602232..587f32b 100644 --- a/ocd/infra/playbooks/roles/mepkubeconfig/tasks/install.yml +++ b/ocd/infra/playbooks/roles/mepkubeconfig/tasks/install.yml @@ -19,7 +19,6 @@ msg: transfering mep config file to OCD Host - name: Fetch the file from the mep edge nodes to ocd-host - run_once: yes fetch: src: /root/.kube/config dest: /root/.kube/kubeconfig/{{ ansible_host }}