mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 05:51:56 +08:00
copr-be: activate the volume group
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user