mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 06:46:36 +01:00
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>
21 lines
497 B
YAML
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'
|