File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
ansible/roles/install-cluster Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ assisted_installer_port: 8090
9
9
registry_host : " {{ groups['bastion'][0] }}"
10
10
registry_port : 5000
11
11
12
+ # Enables CNV and LSO install directly upon install via Assisted-installer
13
+ enable_assisted_cnv_install : true
14
+
12
15
check_cluster_pause_seconds : 20
13
16
14
17
# Unmount virtual media on machines that report status as error in addition to "installing-pending-user-action"
Original file line number Diff line number Diff line change 20
20
body : " {{ lookup('template', 'install-config-overrides.yml.j2') | from_yaml | to_json(ensure_ascii=False) | string | to_json(ensure_ascii=False) | string }}"
21
21
register : get_install_config
22
22
23
+ - name : Enable CNV and LSO install
24
+ uri :
25
+ url : " http://{{ assisted_installer_host }}:{{ assisted_installer_port }}/api/assisted-install/v2/clusters/{{ ai_cluster_id }}"
26
+ method : PATCH
27
+ body_format : json
28
+ status_code : [201]
29
+ return_content : true
30
+ body :
31
+ olm_operators :
32
+ - name : " cnv"
33
+ when : enable_assisted_cnv_install
34
+
23
35
- name : Install cluster
24
36
uri :
25
37
url : " http://{{ assisted_installer_host }}:{{ assisted_installer_port }}/api/assisted-install/v2/clusters/{{ ai_cluster_id }}/actions/install"
You can’t perform that action at this time.
0 commit comments