X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fk3s%2Ftasks%2Funinstall.yml;h=bbf013c491cf4dd1c3741fc3a609b1552e07272c;hb=6ce510fccce9b5481e88d10c3ffa73ed0284b517;hp=e2232d571d1bc138ffd6311d82b6608394a6c743;hpb=e9b85b62dc28f25f5bb70886628c34f598526438;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/k3s/tasks/uninstall.yml b/ocd/infra/playbooks/roles/k3s/tasks/uninstall.yml index e2232d5..bbf013c 100644 --- a/ocd/infra/playbooks/roles/k3s/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/k3s/tasks/uninstall.yml @@ -21,8 +21,12 @@ no_log: True - debug: - msg: k3s is not present - when: result.rc == 2 + msg: Uninstalling k3s... + when: result.stdout != "" + +- debug: + msg: Ignore Uninstall Log , K3s not installed + when: result.stdout == "" - name: kill k3s shell: