diff --git a/mojaloop/iac/roles/microk8s/tasks/remove.yml b/mojaloop/iac/roles/microk8s/tasks/remove.yml index d4dc76cf..9f73c6c4 100644 --- a/mojaloop/iac/roles/microk8s/tasks/remove.yml +++ b/mojaloop/iac/roles/microk8s/tasks/remove.yml @@ -1,9 +1,13 @@ # for on premise installations +- name: Reset microk8s + become: true + command: "microk8s reset" + ignore_errors: true + - name: Remove microk8s become: true - snap: - name: microk8s - state: absent + command: "snap remove --purge microk8s" + ignore_errors: true - name: Remove microk8s data become: true @@ -15,4 +19,4 @@ become: true ansible.builtin.file: state: absent - path: "{{ longhorn_data_path }}" \ No newline at end of file + path: "{{ longhorn_data_path }}"