copr-be: activate the volume group

This commit is contained in:
Pavel Raiskup 2024-11-28 07:33:35 +01:00
parent af724dbe70
commit 1073f70bce

View file

@ -34,9 +34,9 @@
stat: path=/dev/disk/by-label/copr-repo
register: stat_repo_fs
- name: scan the raid volumes
- name: scan and assemble raid volumes and activate volume groups
when: not stat_repo_fs.stat.exists
shell: mdadm --assemble --scan && sleep 5
shell: mdadm --assemble --scan && sleep 5 && vgchange -a y && sleep 5
- name: stat the ext4 filesystem
stat: path=/dev/disk/by-label/copr-repo