Fix ordering of source/console installs
When the console is set to 'novnc', the install process will conditionally install pip packages into the venv when in developer mode. To detect this is checks for 'nova_get_venv | failed or nova_get_venv | skipped' which is only present if the source-install has been done first. This patch fixes the ordering so that the installation of the venv is done before the console install. Change-Id: I3fc4bba4398d5aec605cb3ba19ae482c72f94bca
This commit is contained in:
parent
1deb3b5a26
commit
59c7671c3e
@ -45,6 +45,10 @@
|
||||
tags:
|
||||
- nova-pip-packages
|
||||
|
||||
- name: Install nova packages from PIP
|
||||
include_tasks: nova_install_source.yml
|
||||
when: nova_install_method == 'source'
|
||||
|
||||
- include_tasks: "consoles/nova_console_{{ nova_console_type }}_install.yml"
|
||||
when:
|
||||
- "nova_services['nova-novncproxy']['group'] in group_names or
|
||||
@ -56,10 +60,6 @@
|
||||
- nova-novnc-console
|
||||
- nova-spice-console
|
||||
|
||||
- name: Install nova packages from PIP
|
||||
include_tasks: nova_install_source.yml
|
||||
when: nova_install_method == 'source'
|
||||
|
||||
- name: Initialise the upgrade facts
|
||||
ini_file:
|
||||
dest: "/etc/ansible/facts.d/openstack_ansible.fact"
|
||||
|
Loading…
x
Reference in New Issue
Block a user