Additional fix for venv build fallback
Additional fixes needed to fix the venv build fallback behavior were found after Ifb07eb2a73cc3478a36177d53a9a2b0579da4e12 merged. Change-Id: Ib12f29d1c04c24011346ef9a9d00607a003ebde5
This commit is contained in:
parent
672b69ea63
commit
464db72c69
|
@ -234,7 +234,7 @@
|
|||
until: install_packages|success
|
||||
retries: 5
|
||||
delay: 2
|
||||
when: not keystone_get_venv | success or keystone_developer_mode | bool
|
||||
when: keystone_get_venv | failed or keystone_get_venv | skipped or keystone_developer_mode | bool
|
||||
notify:
|
||||
- Restart Keystone APIs on first node
|
||||
- Restart Keystone APIs on other nodes
|
||||
|
@ -248,11 +248,11 @@
|
|||
when:
|
||||
- ansible_pkg_mgr == 'yum'
|
||||
- not keystone_developer_mode | bool
|
||||
- keystone_get_venv | changed or keystone_venv_dir | changed
|
||||
- keystone_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ keystone_bin | dirname }}
|
||||
when:
|
||||
- not keystone_developer_mode | bool
|
||||
- keystone_get_venv | changed or keystone_venv_dir | changed
|
||||
- keystone_get_venv | changed
|
||||
|
|
Loading…
Reference in New Issue