diff --git a/roles/copr/backend/tasks/mount_fs.yml b/roles/copr/backend/tasks/mount_fs.yml index 2f4420a8cd..019a7dc329 100644 --- a/roles/copr/backend/tasks/mount_fs.yml +++ b/roles/copr/backend/tasks/mount_fs.yml @@ -36,7 +36,7 @@ - name: scan and assemble raid volumes and activate volume groups when: not stat_repo_fs.stat.exists - shell: mdadm --assemble --scan && sleep 5 && vgchange -a y && sleep 5 + shell: mdadm --assemble --scan && sleep 5 && vgchange -a y && vgchange copr-backend-data --setautoactivation y && sleep 5 - name: stat the ext4 filesystem stat: path=/dev/disk/by-label/copr-repo