Code Review
/
integration.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
noheat: improvements for infra setup and Helm push plugin
[integration.git]
/
deployment
/
noheat
/
cluster-rke
/
ansible
/
roles
/
setup_nfs
/
tasks
/
main.yml
diff --git
a/deployment/noheat/cluster-rke/ansible/roles/setup_nfs/tasks/main.yml
b/deployment/noheat/cluster-rke/ansible/roles/setup_nfs/tasks/main.yml
index
398b563
..
2d8d0b0
100644
(file)
--- a/
deployment/noheat/cluster-rke/ansible/roles/setup_nfs/tasks/main.yml
+++ b/
deployment/noheat/cluster-rke/ansible/roles/setup_nfs/tasks/main.yml
@@
-10,6
+10,12
@@
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 }}"