Set these quota plays to only change if there's a non 0 exit code.
This commit is contained in:
parent
11d95b33d8
commit
4971ade8ce
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,8 @@
|
||||||
- name: set default xfs quotas on /srv
|
- name: set default xfs quotas on /srv
|
||||||
command: xfs_quota -x -c 'limit bsoft=2g bhard=2g -d' /srv
|
command: xfs_quota -x -c 'limit bsoft=2g bhard=2g -d' /srv
|
||||||
always_run: true
|
always_run: true
|
||||||
|
register: xfs_quotaoutput
|
||||||
|
changed_when: "xfs_quotaoutput.rc != 0"
|
||||||
tags:
|
tags:
|
||||||
- people
|
- people
|
||||||
- peoplequotas
|
- peoplequotas
|
||||||
|
@ -78,6 +80,8 @@
|
||||||
- { user: thunderbirdtr, quota: 3g }
|
- { user: thunderbirdtr, quota: 3g }
|
||||||
- { user: zpericic, quota: 5g }
|
- { user: zpericic, quota: 5g }
|
||||||
always_run: true
|
always_run: true
|
||||||
|
register: xfs_quotaoutput
|
||||||
|
changed_when: "xfs_quotaoutput.rc != 0"
|
||||||
tags:
|
tags:
|
||||||
- people
|
- people
|
||||||
- peoplequotas
|
- peoplequotas
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue