mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-26 00:49:27 +01:00
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:
commit
ae4c5a9f15
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user