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
This commit is contained in:
Dmitriy Rabotyagov 2021-04-15 17:17:04 +03:00
parent f7858e9440
commit 101f5d5b17
1 changed files with 2 additions and 2 deletions

View File

@ -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