copr-be: don't do the mdadm dance when not needed

This commit is contained in:
Pavel Raiskup 2022-11-22 21:57:23 +01:00
parent dac0349ae4
commit 171a7ca245
2 changed files with 7 additions and 2 deletions

View file

@ -948,8 +948,8 @@ copr-dist-git.aws.fedoraproject.org
copr-fe-dev.aws.fedoraproject.org birthday=yes
[copr_back_dev_aws]
copr-be-dev.aws.fedoraproject.org birthday=yes
#copr-be-dev-temp.aws.fedoraproject.org
copr-be-dev.aws.fedoraproject.org
copr-be-dev-temp.aws.fedoraproject.org birthday=yes
[copr_keygen_aws]
copr-keygen.aws.fedoraproject.org

View file

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