Merge pull request #152 from cschug/fix_issue_137

fix: enforce output of df to be single-lined per file system
This commit is contained in:
Christian Lempa 2024-02-23 11:26:30 +01:00 committed by GitHub
commit ae4c5a9f15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
command: df -h
register: disk_usage
- name: check disk space available
shell: df -h / | awk 'NR==2 {print $5}'
shell: df -Ph / | awk 'NR==2 {print $5}'
register: disk_usage
# - name: send discord message when disk space is over 80%
# uri: