Merge "Add variables for rabbitmq ssl configuration"
This commit is contained in:
commit
858375bd58
|
@ -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_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}"
|
||||||
mistral_oslomsg_rpc_userid: mistral
|
mistral_oslomsg_rpc_userid: mistral
|
||||||
mistral_oslomsg_rpc_vhost: /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
|
# Notify
|
||||||
mistral_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
|
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_userid: "{{ mistral_oslomsg_rpc_userid }}"
|
||||||
mistral_oslomsg_notify_password: "{{ mistral_oslomsg_rpc_password }}"
|
mistral_oslomsg_notify_password: "{{ mistral_oslomsg_rpc_password }}"
|
||||||
mistral_oslomsg_notify_vhost: "{{ mistral_oslomsg_rpc_vhost }}"
|
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
|
# (Qdrouterd) integration
|
||||||
mistral_oslomsg_amqp1_enabled: "{{ mistral_oslomsg_rpc_transport == 'amqp' }}"
|
mistral_oslomsg_amqp1_enabled: "{{ mistral_oslomsg_rpc_transport == 'amqp' }}"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
debug = {{ mistral_debug }}
|
debug = {{ mistral_debug }}
|
||||||
use_journal = True
|
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]
|
[api]
|
||||||
allow_action_execution_deletion = True
|
allow_action_execution_deletion = True
|
||||||
|
|
Loading…
Reference in New Issue