Modifed playbooks to support multiple edge 17/3517/1
authorabhijit_onap <abhijit.das.gupta@huawei.com>
Wed, 27 May 2020 12:25:25 +0000 (17:55 +0530)
committerabhijit_onap <abhijit.das.gupta@huawei.com>
Wed, 27 May 2020 12:25:25 +0000 (17:55 +0530)
Added message to print on which OS k3s is being installed.

Signed-off-by: abhijit_onap <abhijit.das.gupta@huawei.com>
Change-Id: Idb8b34524710c9b14c31e40f6416192f1c05e078

ocd/infra/playbooks/roles/k3s/tasks/install.yml
ocd/infra/playbooks/roles/kubeconfig/tasks/install.yml
ocd/infra/playbooks/roles/mepkubeconfig/tasks/install.yml

index 9860a39..bef74d9 100644 (file)
@@ -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
index 2a0299a..53ad150 100644 (file)
@@ -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 }}
index 4602232..587f32b 100644 (file)
@@ -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 }}