metrics: Create control plane volumes prior to vms
Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
parent
1dec7ab14e
commit
ab3345d628
1 changed files with 4 additions and 0 deletions
|
@ -73,6 +73,10 @@
|
|||
- kvm_deploy
|
||||
when: inventory_hostname in groups['ocp_controlplane_stg']
|
||||
- block:
|
||||
- name: ensure the lv for the guest is made
|
||||
lvol: lv={{ inventory_hostname }} vg={{ volgroup }} size={{ lvm_size }} state=present
|
||||
delegate_to: "{{ vmhost }}"
|
||||
when: inventory_hostname in groups['ocp_controlplane_stg']
|
||||
- name: == OCP KVM provisioning == Deploying the OCP Virtual Guest[s]
|
||||
command: "{{ virt_install_command }}"
|
||||
delegate_to: "{{ vmhost }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue