From 101f5d5b1790eebd8caae6acab2ecf6671ac046f Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 15 Apr 2021 17:17:04 +0300 Subject: [PATCH] Install spice-html5 from source for RedHat CentOS used to have spice-html5 package in epel, but it's not the case for CentOS 8 or Stream. Thus, we need to install SPICE from git repo even for distro installs. Change-Id: If435ba24dbdf12450cead70e0e1eaecc50f46470 Closes-Bug: #1923183 --- tasks/consoles/nova_console_spice_install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/consoles/nova_console_spice_install.yml b/tasks/consoles/nova_console_spice_install.yml index 768d8ad8..ee6044b1 100644 --- a/tasks/consoles/nova_console_spice_install.yml +++ b/tasks/consoles/nova_console_spice_install.yml @@ -35,7 +35,7 @@ register: existing_dir_cleanup changed_when: existing_dir_cleanup.rc == 2 failed_when: existing_dir_cleanup.rc not in [0,2] - when: nova_install_method == 'source' + when: nova_install_method == 'source' or ansible_facts['os_family'] | lower == 'redhat' tags: - nova-spice-git @@ -52,7 +52,7 @@ until: git_clone is success retries: 5 delay: 2 - when: nova_install_method == 'source' + when: nova_install_method == 'source' or ansible_facts['os_family'] | lower == 'redhat' notify: - Manage LB - Restart nova services