diff --git a/roles/copr/backend/tasks/mount_fs.yml b/roles/copr/backend/tasks/mount_fs.yml index 50fe77e2e8..3b6e6ab5d7 100644 --- a/roles/copr/backend/tasks/mount_fs.yml +++ b/roles/copr/backend/tasks/mount_fs.yml @@ -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: