Command fix
This commit is contained in:
parent
769a91ccd1
commit
3a5ba18687
@ -2,7 +2,7 @@
|
||||
- name: Check disk space on ReaR Backup filesystem for NFS servers
|
||||
ansible.builtin.shell: |
|
||||
set -o pipefail
|
||||
df -BG {{ share }} | tail -1 | awk '{print substr($4, 1, length($4)-1))'
|
||||
df -BG {{ share }} | tail -1 | awk '{print substr($4, 1, length($4)-1)}'
|
||||
register: disk_space
|
||||
changed_when: false
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user