From c3999fd120bcf5762c87a91ce0a930d485ca6160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dubois?= Date: Mon, 26 Aug 2024 16:51:11 +0200 Subject: [PATCH] base: Remove deprecated/unsupported "warn" parameter --- CHANGELOG | 1 + roles/base/handlers/main.yml | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 40f5b88..00a1d2f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -110,6 +110,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * ospf, bgp: fix checks scripts * base, collectd, etc-git, logsentry, nagios-nrpe: install packages manually because openbsd_pkg module is broken since OpenBSD 7.4 with the version of Ansible we currently use * nagios-nrpe: fix variable use in check_ipsecctl_critiques.sh +* base: Remove deprecated/unsupported "warn" parameter ### Removed diff --git a/roles/base/handlers/main.yml b/roles/base/handlers/main.yml index 2b67807..5a6a0de 100644 --- a/roles/base/handlers/main.yml +++ b/roles/base/handlers/main.yml @@ -4,48 +4,30 @@ - name: remount / noatime ansible.builtin.command: mount -u -o noatime / - args: - warn: false - name: remount /var noatime ansible.builtin.command: mount -u -o noatime /var - args: - warn: false - name: remount /var/log noatime ansible.builtin.command: mount -u -o noatime /var/log - args: - warn: false - name: remount /usr noatime ansible.builtin.command: mount -u -o noatime /usr - 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: - warn: false - name: remount /tmp noatime ansible.builtin.command: mount -u -o noatime /tmp - args: - warn: false - name: remount /home noatime ansible.builtin.command: mount -u -o noatime /home - args: - warn: false - name: restart ntpd ansible.builtin.service: