Do not install neutron venv if not needed.
Change-Id: I3675cbb5e7e9b37fce47d995e69edde945c1b581
This commit is contained in:
parent
cf298622a9
commit
e74d486424
@ -86,7 +86,9 @@
|
||||
- section: "neutron"
|
||||
option: "venv_tag"
|
||||
value: "{{ neutron_venv_tag }}"
|
||||
when: neutron_install_method == 'source'
|
||||
when:
|
||||
- neutron_install_method == 'source'
|
||||
- ((filtered_neutron_services|length) + (uwsgi_neutron_services|length)) > 0
|
||||
|
||||
- name: Initialise the upgrade facts
|
||||
ini_file:
|
||||
|
@ -92,7 +92,9 @@
|
||||
src: "{{ neutron_bin }}/neutron-keepalived-state-change"
|
||||
dest: "/usr/local/bin/neutron-keepalived-state-change"
|
||||
state: link
|
||||
when: neutron_install_method == 'source'
|
||||
when:
|
||||
- neutron_install_method == 'source'
|
||||
- ((filtered_neutron_services|length) + (uwsgi_neutron_services|length)) > 0
|
||||
|
||||
- name: Preserve original configuration file(s)
|
||||
command: "cp {{ item.target_f }} {{ item.target_f }}.original"
|
||||
|
@ -49,6 +49,7 @@
|
||||
neutron_conf_dir_stat.stat.isdir
|
||||
when:
|
||||
- neutron_install_method == 'source'
|
||||
- ((filtered_neutron_services|length) + (uwsgi_neutron_services|length)) > 0
|
||||
|
||||
- name: Create neutron dir
|
||||
file:
|
||||
|
Loading…
Reference in New Issue
Block a user