verze 2
This commit is contained in:
@@ -19,12 +19,7 @@
|
|||||||
msg: "the node {{ inventory_hostname }} has insufficient disk space: {{ freediskspace.stdout | trim }} GB (minimum required: 20 GB)"
|
msg: "the node {{ inventory_hostname }} has insufficient disk space: {{ freediskspace.stdout | trim }} GB (minimum required: 20 GB)"
|
||||||
when:
|
when:
|
||||||
- freediskspace.stdout | trim | float < 20
|
- freediskspace.stdout | trim | float < 20
|
||||||
|
|
||||||
- name: Get partition facts
|
|
||||||
hosts: windows
|
|
||||||
gather_facts: no
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Gather disk & partition facts
|
- name: Gather disk & partition facts
|
||||||
community.windows.win_disk_facts:
|
community.windows.win_disk_facts:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user