metrics: Create control plane volumes prior to vms

Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
David Kirwan 2021-07-21 08:53:22 +01:00
parent 1dec7ab14e
commit ab3345d628

View file

@ -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 }}"