From b9b0183ec552f8fa8b0cc948361ea8043ddf0efb Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 6 Aug 2018 15:01:52 +0200 Subject: [PATCH] remount-usr: mount doesn't report a change It is arguable that this is a real change or not, but in practice we have playbooks that report changes only for this and it's very fun to scroll back each time to see if it's remount-usr or a "real" change. --- CHANGELOG.md | 1 + remount-usr/tasks/main.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83aba681..a8c1773a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ The **patch** part changes incrementally at each release. * redmine: use .my.cnf for mysql password * rbenv: change default Ruby version (2.5.1) * rbenv: switch from copy to lineinfile for default gems +* remount-usr: mount doesn't report a change * squid: add a few news sites to the whitelist * tomcat: better nrpe check output * kvm-host: install kvm-tools package instead of copying add-vm.sh diff --git a/remount-usr/tasks/main.yml b/remount-usr/tasks/main.yml index cdc7e10e..6cbcfa00 100644 --- a/remount-usr/tasks/main.yml +++ b/remount-usr/tasks/main.yml @@ -12,5 +12,6 @@ command: 'mount -o remount,rw /usr' args: warn: no + changed_when: False when: usr_partition.rc == 0 notify: remount usr