From 53771eb3ef1bc0ec795c284464d6114e78dbd051 Mon Sep 17 00:00:00 2001 From: Axel Date: Wed, 26 Jun 2024 13:47:23 +0200 Subject: [PATCH] Nettoyage fstab --- tasks/cleanup.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tasks/cleanup.yml b/tasks/cleanup.yml index 7356c85..c681d32 100644 --- a/tasks/cleanup.yml +++ b/tasks/cleanup.yml @@ -1,4 +1,11 @@ - name: Suppression dossier utilisateur axel file: path: /home/axel - state: absent \ No newline at end of file + state: absent + +- name: Nettoie fstab + ansible.posix.mount: + src: 192.168.8.251:/ECHANGE-INSCRIPTIONS + path: /mnt/ECHANGE-INSCRIPTIONS + state: absent_from_fstab + fstype: nfs \ No newline at end of file