v.1.6.2 df_hT
This commit is contained in:
11
df_hT.yaml
Normal file
11
df_hT.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Simple Disk Usage Check
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: Run df -hT command
|
||||
shell: df -hT | grep '^/dev/'
|
||||
register: result
|
||||
|
||||
- name: Show output
|
||||
debug:
|
||||
var: result.stdout_lines
|
||||
Reference in New Issue
Block a user