Merge "Add variables for rabbitmq ssl configuration"
This commit is contained in:
commit
fb96a661ff
@ -220,6 +220,8 @@ ironic_oslomsg_rpc_port: "{{ oslomsg_rpc_port | default('5672') }}"
|
|||||||
ironic_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}"
|
ironic_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}"
|
||||||
ironic_oslomsg_rpc_userid: ironic
|
ironic_oslomsg_rpc_userid: ironic
|
||||||
ironic_oslomsg_rpc_vhost: /ironic
|
ironic_oslomsg_rpc_vhost: /ironic
|
||||||
|
ironic_oslomsg_rpc_ssl_version: "{{ oslomsg_rpc_ssl_version | default('TLSv1_2') }}"
|
||||||
|
ironic_oslomsg_rpc_ssl_ca_file: "{{ oslomsg_rpc_ssl_ca_file | default('') }}"
|
||||||
|
|
||||||
# Notify
|
# Notify
|
||||||
ironic_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
|
ironic_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
|
||||||
@ -231,6 +233,8 @@ ironic_oslomsg_notify_use_ssl: "{{ oslomsg_notify_use_ssl | default(False) }}"
|
|||||||
ironic_oslomsg_notify_userid: "{{ ironic_oslomsg_rpc_userid }}"
|
ironic_oslomsg_notify_userid: "{{ ironic_oslomsg_rpc_userid }}"
|
||||||
ironic_oslomsg_notify_password: "{{ ironic_oslomsg_rpc_password }}"
|
ironic_oslomsg_notify_password: "{{ ironic_oslomsg_rpc_password }}"
|
||||||
ironic_oslomsg_notify_vhost: "{{ ironic_oslomsg_rpc_vhost }}"
|
ironic_oslomsg_notify_vhost: "{{ ironic_oslomsg_rpc_vhost }}"
|
||||||
|
ironic_oslomsg_notify_ssl_version: "{{ oslomsg_notify_ssl_version | default('TLSv1_2') }}"
|
||||||
|
ironic_oslomsg_notify_ssl_ca_file: "{{ oslomsg_notify_ssl_ca_file | default('') }}"
|
||||||
|
|
||||||
## (Qdrouterd) integration
|
## (Qdrouterd) integration
|
||||||
# TODO(ansmith): Change structure when more backends will be supported
|
# TODO(ansmith): Change structure when more backends will be supported
|
||||||
@ -373,6 +377,8 @@ ironic_inspector_oslomsg_rpc_port: "{{ oslomsg_rpc_port | default('5672') }}"
|
|||||||
ironic_inspector_oslomsg_rpc_use_ssl: "True"
|
ironic_inspector_oslomsg_rpc_use_ssl: "True"
|
||||||
ironic_inspector_oslomsg_rpc_userid: ironic
|
ironic_inspector_oslomsg_rpc_userid: ironic
|
||||||
ironic_inspector_oslomsg_rpc_vhost: /ironic
|
ironic_inspector_oslomsg_rpc_vhost: /ironic
|
||||||
|
ironic_inspector_oslomsg_rpc_ssl_version: "{{ oslomsg_rpc_ssl_version | default('TLSv1_2') }}"
|
||||||
|
ironic_inspector_oslomsg_rpc_ssl_ca_file: "{{ oslomsg_rpc_ssl_ca_file | default('') }}"
|
||||||
|
|
||||||
ironic_inspector_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
|
ironic_inspector_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}"
|
||||||
ironic_inspector_oslomsg_notify_setup_host: "{{ (ironic_inspector_oslomsg_notify_host_group in groups) | ternary(groups[ironic_inspector_oslomsg_notify_host_group][0], 'localhost') }}"
|
ironic_inspector_oslomsg_notify_setup_host: "{{ (ironic_inspector_oslomsg_notify_host_group in groups) | ternary(groups[ironic_inspector_oslomsg_notify_host_group][0], 'localhost') }}"
|
||||||
@ -383,6 +389,9 @@ ironic_inspector_oslomsg_notify_use_ssl: "False"
|
|||||||
ironic_inspector_oslomsg_notify_userid: "{{ ironic_inspector_oslomsg_rpc_userid }}"
|
ironic_inspector_oslomsg_notify_userid: "{{ ironic_inspector_oslomsg_rpc_userid }}"
|
||||||
ironic_inspector_oslomsg_notify_password: "{{ ironic_oslomsg_rpc_password }}"
|
ironic_inspector_oslomsg_notify_password: "{{ ironic_oslomsg_rpc_password }}"
|
||||||
ironic_inspector_oslomsg_notify_vhost: "{{ ironic_inspector_oslomsg_rpc_vhost }}"
|
ironic_inspector_oslomsg_notify_vhost: "{{ ironic_inspector_oslomsg_rpc_vhost }}"
|
||||||
|
ironic_inspector_oslomsg_notify_ssl_version: "{{ oslomsg_notify_ssl_version | default('TLSv1_2') }}"
|
||||||
|
ironic_inspector_oslomsg_notify_ssl_ca_file: "{{ oslomsg_notify_ssl_ca_file | default('') }}"
|
||||||
|
|
||||||
ironic_inspector_optional_oslomsg_amqp1_pip_packages:
|
ironic_inspector_optional_oslomsg_amqp1_pip_packages:
|
||||||
- oslo.messaging[amqp1]
|
- oslo.messaging[amqp1]
|
||||||
ironic_inspector_oslomsg_amqp1_enabled: True
|
ironic_inspector_oslomsg_amqp1_enabled: True
|
||||||
|
@ -14,7 +14,7 @@ enabled_network_interfaces = {{ ironic_enabled_network_interfaces_list }}
|
|||||||
default_network_interface = {{ ironic_default_network_interface }}
|
default_network_interface = {{ ironic_default_network_interface }}
|
||||||
|
|
||||||
## RPC Backend
|
## RPC Backend
|
||||||
transport_url = {{ ironic_oslomsg_rpc_transport }}://{% for host in ironic_oslomsg_rpc_servers.split(',') %}{{ ironic_oslomsg_rpc_userid }}:{{ ironic_oslomsg_rpc_password }}@{{ host }}:{{ ironic_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ ironic_oslomsg_rpc_vhost }}{% if ironic_oslomsg_rpc_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
transport_url = {{ ironic_oslomsg_rpc_transport }}://{% for host in ironic_oslomsg_rpc_servers.split(',') %}{{ ironic_oslomsg_rpc_userid }}:{{ ironic_oslomsg_rpc_password }}@{{ host }}:{{ ironic_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ ironic_oslomsg_rpc_vhost }}{% if ironic_oslomsg_rpc_use_ssl | bool %}?ssl=1&ssl_version={{ ironic_oslomsg_rpc_ssl_version }}&ssl_ca_file={{ ironic_oslomsg_rpc_ssl_ca_file }}{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
||||||
|
|
||||||
# drivers
|
# drivers
|
||||||
enabled_hardware_types = {{ filtered_ironic_drivers | json_query('[*].hardware_type') | unique | join(',') }}
|
enabled_hardware_types = {{ filtered_ironic_drivers | json_query('[*].hardware_type') | unique | join(',') }}
|
||||||
@ -180,7 +180,7 @@ lock_path = {{ ironic_lock_path }}
|
|||||||
[oslo_messaging_amqp]
|
[oslo_messaging_amqp]
|
||||||
|
|
||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
transport_url = {{ ironic_oslomsg_notify_transport }}://{% for host in ironic_oslomsg_notify_servers.split(',') %}{{ ironic_oslomsg_notify_userid }}:{{ ironic_oslomsg_notify_password }}@{{ host }}:{{ ironic_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ ironic_oslomsg_notify_vhost }}{% if ironic_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
transport_url = {{ ironic_oslomsg_notify_transport }}://{% for host in ironic_oslomsg_notify_servers.split(',') %}{{ ironic_oslomsg_notify_userid }}:{{ ironic_oslomsg_notify_password }}@{{ host }}:{{ ironic_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ ironic_oslomsg_notify_vhost }}{% if ironic_oslomsg_notify_use_ssl | bool %}?ssl=1&ssl_version={{ ironic_oslomsg_notify_ssl_version }}&ssl_ca_file={{ ironic_oslomsg_notify_ssl_ca_file }}{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
||||||
|
|
||||||
[oslo_messaging_rabbit]
|
[oslo_messaging_rabbit]
|
||||||
ssl = {{ ironic_oslomsg_rpc_use_ssl }}
|
ssl = {{ ironic_oslomsg_rpc_use_ssl }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user