Merge "Setup oslo.messaging extra packages for optional drivers"
This commit is contained in:
commit
79fc36f2f7
@ -92,6 +92,10 @@ octavia_oslomsg_notify_userid: "{{ octavia_oslomsg_rpc_userid }}"
|
||||
octavia_oslomsg_notify_password: "{{ octavia_oslomsg_rpc_password }}"
|
||||
octavia_oslomsg_notify_vhost: "{{ octavia_oslomsg_rpc_vhost }}"
|
||||
|
||||
## (Qdrouterd) integration
|
||||
# TODO(ansmith): Change structure when more backends will be supported
|
||||
octavia_oslomsg_amqp1_enabled: "{{ octavia_oslomsg_rpc_transport == 'amqp' }}"
|
||||
|
||||
## octavia User / Group
|
||||
octavia_system_user_name: octavia
|
||||
octavia_system_group_name: octavia
|
||||
@ -158,6 +162,9 @@ octavia_pip_packages:
|
||||
- octavia
|
||||
- uwsgi
|
||||
|
||||
octavia_optional_oslomsg_amqp1_pip_packages:
|
||||
- oslo.messaging[amqp1]
|
||||
|
||||
octavia_api_init_overrides: {}
|
||||
octavia_worker_init_overrides: {}
|
||||
octavia_housekeeping_init_overrides: {}
|
||||
|
@ -132,6 +132,18 @@
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Install optional pip packages
|
||||
pip:
|
||||
name: "{{ octavia_optional_oslomsg_amqp1_pip_packages }}"
|
||||
state: "{{ octavia_pip_package_state }}"
|
||||
virtualenv: "{{ octavia_bin | dirname }}"
|
||||
virtualenv_site_packages: "no"
|
||||
when: octavia_oslomsg_amqp1_enabled
|
||||
register: install_optional_packages
|
||||
until: install_optional_packages is success
|
||||
retries: 5
|
||||
delay: 2
|
||||
|
||||
- name: Record the venv tag deployed
|
||||
ini_file:
|
||||
dest: "/etc/ansible/facts.d/openstack_ansible.fact"
|
||||
|
Loading…
x
Reference in New Issue
Block a user