copr-be: better check for the ext4 filesystem

This commit is contained in:
Pavel Raiskup 2022-11-22 22:12:55 +01:00
parent ac8790a775
commit d7a9f80857

View file

@ -1,11 +1,12 @@
---
- name: stat the ext4 filesystem
- name: early stat for the ext4 filesystem
stat: path=/dev/disk/by-label/copr-repo
register: stat_repo_fs
register: stat_repo_fs_early
tags: mdadm
- name: raid10 volume on the production machine
tags: mdadm
when: not stat_repo_fs.stat.exists
when: not stat_repo_fs_early.stat.exists
block:
- name: install LVM and RAID utilities
package: