fixed command
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
tasks:
|
||||
- name: Get disk usage
|
||||
command: df -h / | awk 'NR==2 {print $5}'
|
||||
shell: df -h / | awk 'NR==2 {print $5}'
|
||||
register: disk_usage
|
||||
|
||||
- name: Send notification
|
||||
|
||||
Reference in New Issue
Block a user