forked from jakub/ansible
.
This commit is contained in:
+3
-1
@@ -1,3 +1,5 @@
|
|||||||
|
# check_raid.yml
|
||||||
|
|
||||||
---
|
---
|
||||||
- name: Check Linux MD RAID health on pve1
|
- name: Check Linux MD RAID health on pve1
|
||||||
hosts: pve1_vm
|
hosts: pve1_vm
|
||||||
@@ -434,4 +436,4 @@
|
|||||||
- name: Fail when RAID is unhealthy
|
- name: Fail when RAID is unhealthy
|
||||||
ansible.builtin.fail:
|
ansible.builtin.fail:
|
||||||
msg: "{{ raid_line }}"
|
msg: "{{ raid_line }}"
|
||||||
when: (raid_cmd.rc | int) != 0
|
when: (raid_cmd.rc | int) != 0
|
||||||
|
|||||||
Reference in New Issue
Block a user