Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
Update disk space check module (#937) (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo0127 committed Sep 10, 2019
1 parent f123758 commit 3c62e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/check_system_dynamic/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

- name: Disk space check - Fail task when disk is full
raw: df -h . | tail -n1
shell: df -h . | tail -n1
register: disk_space_st
failed_when: " '100%' in disk_space_st.stdout "
changed_when: false
Expand Down

0 comments on commit 3c62e2e

Please sign in to comment.