Command fix

This commit is contained in:
Chris Hammer 2025-02-21 18:33:55 -05:00
parent 769a91ccd1
commit 3a5ba18687

View File

@ -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