1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00
Files
installer/upi/ovirt/bootstrap.yml
Roberto Ciatti 49418b4b23 oVirt/RHV basic UPI installation
Ansible scripts to install OCP on oVirt/RHV with a step by step
process documented in the docs.

Signed-off-by: Roberto Ciatti <rciatti@redhat.com>
2020-07-22 17:25:11 +02:00

21 lines
497 B
YAML

---
- hosts: localhost
connection: local
gather_facts: false
tasks:
- import_tasks: common-auth.yml
- name: Start bootstrap VM
ovirt_vm:
auth: "{{ ovirt_auth }}"
cluster: "{{ item.profile.cluster }}"
name: "{{ item.name }}"
state: running
cloud_init_persist: True
cloud_init:
custom_script: "{{ lookup('file', ocp.assets_dir+'/'+item.ocp_type+'.ign') | string }}"
with_items:
- "{{ vms }}"
when: item.ocp_type == 'bootstrap'