copr-be: activate the volume group
This commit is contained in:
parent
af724dbe70
commit
1073f70bce
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue