From 6822eaa4f06dfcc8d81c5d06c9c15a743ced88bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dubois?= Date: Thu, 9 Nov 2023 17:06:00 +0100 Subject: [PATCH] base: added handlers for entries in fstab --- CHANGELOG | 1 + roles/base/handlers/main.yml | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 08858c4..f5c61b1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * nagios-nrpe: add the ipmi_sensor check * base: doas configuration for ipmi_sensor NRPE check * base: deactivate insults in sudo +* base: added handlers for entries in fstab ### Changed diff --git a/roles/base/handlers/main.yml b/roles/base/handlers/main.yml index 141a7a3..11108db 100644 --- a/roles/base/handlers/main.yml +++ b/roles/base/handlers/main.yml @@ -17,6 +17,16 @@ args: warn: false +- name: remount /usr/X11R6 noatime + ansible.builtin.command: mount -u -o noatime /usr/X11R6 + args: + warn: false + +- name: remount /usr/local noatime + ansible.builtin.command: mount -u -o noatime /usr/local + args: + warn: false + - name: remount /tmp noexec ansible.builtin.command: mount -u -o noexec /tmp args: