copr-backend: don't delay mdadm/lvm2 installation
This is needed when we run the playbook against the `*-temp` hostname; while we don't have the volumes in hand, we still want to install all the tooling early. This minimizes the risk that the subsequent volume attachment do not automatically construct the RAIDs (vg).
This commit is contained in:
parent
eb1c888537
commit
105c881e33
1 changed files with 8 additions and 8 deletions
|
@ -7,18 +7,18 @@
|
|||
register: stat_repo_fs_early
|
||||
tags: mdadm
|
||||
|
||||
- name: install LVM and RAID utilities
|
||||
package:
|
||||
name:
|
||||
- lvm2
|
||||
- mdadm
|
||||
tags:
|
||||
- mdadm
|
||||
|
||||
- name: VG on two RAIDs
|
||||
tags: mdadm
|
||||
when: not stat_repo_fs_early.stat.exists
|
||||
block:
|
||||
- name: install LVM and RAID utilities
|
||||
package:
|
||||
name:
|
||||
- lvm2
|
||||
- mdadm
|
||||
tags:
|
||||
- mdadm
|
||||
|
||||
- name: stat the raid volumes
|
||||
stat:
|
||||
path: "/dev/disk/by-id/{{ item }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue