From dcbeb354dec71da478c3fc754606d2aeee0790de Mon Sep 17 00:00:00 2001 From: Asaf Rachmani Date: Mon, 6 Apr 2020 16:14:27 +0300 Subject: [PATCH] Use `he_additional_package_list` if explicitly set - Use `he_additional_package_list` parameter if explicitly set in order to install additional packages on engine VM - Update README Signed-off-by: Asaf Rachmani --- README.md | 1 + defaults/main.yml | 1 + tasks/full_execution.yml | 1 + tasks/partial_execution.yml | 1 + 4 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 70a1378..5ebf526 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ No. | he_tcp_t_port | null | port to connect if he_network_test is *tcp* | | he_pause_host | false | Pause the execution to let the user interactively fix host configuration | | he_offline_deployment | false | If `True`, updates for all packages will be disabled | +| he_additional_package_list | [] | List of additional packages to be installed on engine VM apart from ovirt-engine package | ## NFS / Gluster Variables diff --git a/defaults/main.yml b/defaults/main.yml index e41e3c2..22b1083 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -101,6 +101,7 @@ he_tcp_t_port: null he_just_collect_network_interfaces: false he_libvirt_authfile: '/etc/ovirt-hosted-engine/virsh_auth.conf' he_offline_deployment: false +he_additional_package_list: [] # *** Do Not Use On Production Environment *** # ********** Used for testing ONLY *********** diff --git a/tasks/full_execution.yml b/tasks/full_execution.yml index 6900d2c..bfa6e8a 100644 --- a/tasks/full_execution.yml +++ b/tasks/full_execution.yml @@ -36,6 +36,7 @@ ovirt_engine_setup_answer_file_path: /root/ovirt-engine-answers ovirt_engine_setup_use_remote_answer_file: true ovirt_engine_setup_offline: "{{ he_offline_deployment }}" + ovirt_engine_setup_package_list: "{{ he_additional_package_list }}" ovirt_engine_setup_admin_password: "{{ he_admin_password }}" import_role: name: ovirt.engine-setup diff --git a/tasks/partial_execution.yml b/tasks/partial_execution.yml index 4b23690..7b14a60 100644 --- a/tasks/partial_execution.yml +++ b/tasks/partial_execution.yml @@ -54,6 +54,7 @@ ovirt_engine_setup_answer_file_path: /root/ovirt-engine-answers ovirt_engine_setup_use_remote_answer_file: true ovirt_engine_setup_offline: "{{ he_offline_deployment }}" + ovirt_engine_setup_package_list: "{{ he_additional_package_list }}" ovirt_engine_setup_admin_password: "{{ he_admin_password }}" import_role: name: ovirt.engine-setup