From c256badd28c08d33c76b45e45f55cc536932e2d3 Mon Sep 17 00:00:00 2001 From: Srinivasan Selvam Date: Thu, 11 Jun 2020 23:06:35 +0530 Subject: [PATCH] hosts.yaml instead of inventory.ini k8s uninstall Signed-off-by: Srinivasan Selvam Change-Id: I217157a4d3514dec58054f0a944b1f6a2cd35290 --- ocd/infra/playbooks/roles/k8s/tasks/uninstall.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocd/infra/playbooks/roles/k8s/tasks/uninstall.yml b/ocd/infra/playbooks/roles/k8s/tasks/uninstall.yml index 336d5b3..f3cee7d 100644 --- a/ocd/infra/playbooks/roles/k8s/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/k8s/tasks/uninstall.yml @@ -26,6 +26,6 @@ - name: Remove k8s shell: - cmd: yes | ansible-playbook -i inventory/mycluster/inventory.ini reset.yml + cmd: yes | ansible-playbook -i inventory/mycluster/hosts.yaml reset.yml chdir: /root/kubespray/ when: result.stdout != "" -- 2.16.6