diff --git a/mojaloop/iac/roles/microk8s/defaults/main.yml b/mojaloop/iac/roles/microk8s/defaults/main.yml index 05a4ea20..ba4c6db1 100644 --- a/mojaloop/iac/roles/microk8s/defaults/main.yml +++ b/mojaloop/iac/roles/microk8s/defaults/main.yml @@ -71,6 +71,7 @@ registry_mirror_port: 9000 teardown: false microk8s_root_path: /var/snap/microk8s/ longhorn_data_path: /var/lib/longhorn/ +rook_data_path: /var/lib/rook microk8s_apiserver_port: 16443 microk8s_dev_skip: false dev_skip: false diff --git a/mojaloop/iac/roles/microk8s/tasks/remove.yml b/mojaloop/iac/roles/microk8s/tasks/remove.yml index 9f73c6c4..137c1346 100644 --- a/mojaloop/iac/roles/microk8s/tasks/remove.yml +++ b/mojaloop/iac/roles/microk8s/tasks/remove.yml @@ -20,3 +20,9 @@ ansible.builtin.file: state: absent path: "{{ longhorn_data_path }}" + +- name: Remove rook data + become: true + ansible.builtin.file: + state: absent + path: "{{ rook_data_path }}"