Add variables for rabbitmq ssl configuration
Change-Id: I613d2d310ad4fbce4d017533c4739243f586a2c5
This commit is contained in:
parent
7fa4a4eb63
commit
9edf8bf43c
|
@ -94,6 +94,8 @@ mistral_oslomsg_rpc_port: "{{ oslomsg_rpc_port | default('5672') }}"
|
|||
mistral_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}"
|
||||
mistral_oslomsg_rpc_userid: mistral
|
||||
mistral_oslomsg_rpc_vhost: /mistral
|
||||
mistral_oslomsg_rpc_ssl_version: "{{ oslomsg_rpc_ssl_version | default('TLSv1_2') }}"
|
||||
mistral_oslomsg_rpc_ssl_ca_file: "{{ oslomsg_rpc_ssl_ca_file | default('') }}"
|
||||
|
||||
# Notify
|
||||
mistral_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
|
||||
|
@ -105,6 +107,8 @@ mistral_oslomsg_notify_use_ssl: "{{ oslomsg_notify_use_ssl | default(False) }}"
|
|||
mistral_oslomsg_notify_userid: "{{ mistral_oslomsg_rpc_userid }}"
|
||||
mistral_oslomsg_notify_password: "{{ mistral_oslomsg_rpc_password }}"
|
||||
mistral_oslomsg_notify_vhost: "{{ mistral_oslomsg_rpc_vhost }}"
|
||||
mistral_oslomsg_notify_ssl_version: "{{ oslomsg_notify_ssl_version | default('TLSv1_2') }}"
|
||||
mistral_oslomsg_notify_ssl_ca_file: "{{ oslomsg_notify_ssl_ca_file | default('') }}"
|
||||
|
||||
# (Qdrouterd) integration
|
||||
mistral_oslomsg_amqp1_enabled: "{{ mistral_oslomsg_rpc_transport == 'amqp' }}"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[DEFAULT]
|
||||
debug = {{ mistral_debug }}
|
||||
use_journal = True
|
||||
transport_url = {{ mistral_oslomsg_rpc_transport }}://{% for host in mistral_oslomsg_rpc_servers.split(',') %}{{ mistral_oslomsg_rpc_userid }}:{{ mistral_oslomsg_rpc_password }}@{{ host }}:{{ mistral_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ mistral_oslomsg_rpc_vhost }}{% if mistral_oslomsg_rpc_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
||||
transport_url = {{ mistral_oslomsg_rpc_transport }}://{% for host in mistral_oslomsg_rpc_servers.split(',') %}{{ mistral_oslomsg_rpc_userid }}:{{ mistral_oslomsg_rpc_password }}@{{ host }}:{{ mistral_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ mistral_oslomsg_rpc_vhost }}{% if mistral_oslomsg_rpc_use_ssl | bool %}?ssl=1&ssl_version={{ mistral_oslomsg_rpc_ssl_version }}&ssl_ca_file={{ mistral_oslomsg_rpc_ssl_ca_file }}{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
||||
|
||||
[api]
|
||||
allow_action_execution_deletion = True
|
||||
|
|
Loading…
Reference in New Issue