premier commit
This commit is contained in:
parent
d8362a9072
commit
4c3cc9948f
9
get_diskSpace.yml
Normal file
9
get_diskSpace.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Check Disk Space Usage
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: Disk usage from command module
|
||||
command: df -h
|
||||
register: space
|
||||
- debug:
|
||||
var: space.stdout_lines
|
Loading…
Reference in New Issue
Block a user