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