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.
This commit is contained in:
Jérémy Lecour 2018-08-06 15:01:52 +02:00 committed by Jérémy Lecour
parent e817dffc0f
commit b9b0183ec5
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ The **patch** part changes incrementally at each release.
* redmine: use .my.cnf for mysql password * redmine: use .my.cnf for mysql password
* rbenv: change default Ruby version (2.5.1) * rbenv: change default Ruby version (2.5.1)
* rbenv: switch from copy to lineinfile for default gems * 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 * squid: add a few news sites to the whitelist
* tomcat: better nrpe check output * tomcat: better nrpe check output
* kvm-host: install kvm-tools package instead of copying add-vm.sh * kvm-host: install kvm-tools package instead of copying add-vm.sh

View File

@ -12,5 +12,6 @@
command: 'mount -o remount,rw /usr' command: 'mount -o remount,rw /usr'
args: args:
warn: no warn: no
changed_when: False
when: usr_partition.rc == 0 when: usr_partition.rc == 0
notify: remount usr notify: remount usr