Set these quota plays to only change if there's a non 0 exit code.

This commit is contained in:
Kevin Fenzi 2015-06-22 21:00:26 +00:00
parent 11d95b33d8
commit 4971ade8ce

View file

@ -42,6 +42,8 @@
- name: set default xfs quotas on /srv
command: xfs_quota -x -c 'limit bsoft=2g bhard=2g -d' /srv
always_run: true
register: xfs_quotaoutput
changed_when: "xfs_quotaoutput.rc != 0"
tags:
- people
- peoplequotas
@ -78,6 +80,8 @@
- { user: thunderbirdtr, quota: 3g }
- { user: zpericic, quota: 5g }
always_run: true
register: xfs_quotaoutput
changed_when: "xfs_quotaoutput.rc != 0"
tags:
- people
- peoplequotas