Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added the option to set different compatibility version for data center and for cluster #125

Merged
merged 2 commits into from
Sep 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- hosted_engine_setup - Add compatibility_version (https://github.com/oVirt/ovirt-ansible-collection/pull/125).
2 changes: 2 additions & 0 deletions roles/hosted_engine_setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ Ansible role for deploying oVirt Hosted-Engine
| he_pki_renew_on_restore | false | Renew engine PKI on restore if needed |
| he_cluster | Default | name of the cluster with hosted-engine hosts |
| he_cluster_cpu_type | null | cluster CPU type to be used in hosted-engine cluster (the same as HE host or lower) |
| he_cluster_comp_version | null | Compatibility version of the hosted-engine cluster. Default value is the latest compatibility version |
| he_data_center | Default | name of the datacenter with hosted-engine hosts |
| he_data_center_comp_version | null | Compatibility version of the hosted-engine data center. Default value is the latest compatibility version |
| he_host_name | $(hostname -f) | name used by the engine for the first host |
| he_host_address | $(hostname -f) | address used by the engine for the first host |
| he_bridge_if | null | interface used for the management bridge |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
ovirt_datacenter:
state: present
name: "{{ he_data_center }}"
compatibility_version: "{{ he_data_center_comp_version | default(omit) }}"
wait: true
local: false
auth: "{{ ovirt_auth }}"
Expand All @@ -58,6 +59,7 @@
ovirt_cluster:
state: present
name: "{{ he_cluster }}"
compatibility_version: "{{ he_cluster_comp_version | default(omit) }}"
data_center: "{{ he_data_center }}"
cpu_type: "{{ he_cluster_cpu_type | default(omit) }}"
wait: true
Expand All @@ -75,6 +77,7 @@
ovirt_cluster:
data_center: "{{ he_data_center }}"
name: "{{ he_cluster }}"
compatibility_version: "{{ he_cluster_comp_version | default(omit) }}"
auth: "{{ ovirt_auth }}"
virt: true
gluster: true
Expand Down