noheat: improvements for infra setup and Helm push plugin
[integration.git] / deployment / noheat / cluster-rke / ansible / roles / setup_nfs / tasks / main.yml
index 398b563..2d8d0b0 100644 (file)
     state: present
   when: nfs_role is defined and nfs_role == "server"
 
+- name: Umount
+  ansible.posix.mount:
+    path: "{{ nfs_mountpoint }}"
+    state: unmounted
+  ignore_errors: yes
+
 - name: Remove leftovers
   file:
     path: "{{ nfs_mountpoint }}"