Execution
Date
15 Dec 2025 10:19:13 +0000
Duration
00:23:12.82
Controller
aio1.openstack.local
User
root
Versions
Ansible
2.18.6
ara
1.7.4 / 1.7.4
Python
3.12.3
Summary
9
Hosts
618
Tasks
960
Results
108
Plays
456
Files
0
Records
File: /home/zuul/src/opendev.org/openstack/openstack-ansible-os_mistral/defaults/main.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | --- # Copyright 2019, VEXXHOST, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Installation method mistral_install_method: "{{ service_install_method | default('source') }}" mistral_venv_python_executable: "{{ openstack_venv_python_executable | default('python3') }}" # Operating system user & groups mistral_system_user_name: mistral mistral_system_group_name: mistral mistral_system_shell: /sbin/nologin mistral_system_comment: Mistral Daemons mistral_system_user_home: /var/lib/mistral # Distribution deployment mistral_package_state: "{{ package_state | default('latest') }}" # Source package builds mistral_git_repo: https://opendev.org/openstack/mistral mistral_git_install_branch: master mistral_extra_git_repo: https://opendev.org/openstack/mistral-extra mistral_extra_git_install_branch: master mistral_upper_constraints_url: >- {{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }} mistral_git_constraints: - "--constraint {{ mistral_upper_constraints_url }}" mistral_pip_packages: - "git+{{ mistral_git_repo }}@{{ mistral_git_install_branch }}#egg=mistral" - "git+{{ mistral_extra_git_repo }}@{{ mistral_extra_git_install_branch }}#egg=mistral-extra" - PyMySQL - pymemcache - python-memcached - systemd-python mistral_venv_tag: "{{ venv_tag | default('untagged') }}" mistral_bin: "{{ _mistral_bin }}" mistral_pip_install_args: "{{ pip_install_options | default('') }}" mistral_memcached_servers: "{{ memcached_servers }}" mistral_api_use_uwsgi: true # Services mistral_services: mistral-notifier: group: mistral_notifier service_name: mistral-notifier init_config_overrides: "{{ mistral_notifier_init_overrides }}" start_order: 1 execstarts: "{{ _mistral_bin }}/mistral-server --server notifier" mistral-executor: group: mistral_executor service_name: mistral-executor init_config_overrides: "{{ mistral_executor_init_overrides }}" start_order: 1 execstarts: "{{ _mistral_bin }}/mistral-server --server executor" mistral-engine: group: mistral_engine service_name: mistral-engine init_config_overrides: "{{ mistral_engine_init_overrides }}" start_order: 1 execstarts: "{{ _mistral_bin }}/mistral-server --server engine" mistral-api: group: mistral_api service_name: mistral-api init_config_overrides: "{{ mistral_api_init_overrides }}" start_order: 2 execstarts: "{{ _mistral_bin }}/mistral-server --server api" wsgi_app: "{{ mistral_api_use_uwsgi }}" wsgi_name: mistral-wsgi-api uwsgi_overrides: "{{ mistral_api_uwsgi_ini_overrides }}" uwsgi_bind_address: "{{ mistral_bind_address }}" uwsgi_port: "{{ mistral_service_port }}" uwsgi_tls: "{{ mistral_backend_ssl | ternary(mistral_uwsgi_tls, {}) }}" # UWSGI settings mistral_wsgi_processes_max: 16 mistral_wsgi_processes: >- {{ [[(ansible_facts['processor_vcpus'] // ansible_facts['processor_threads_per_core']) | default(1), 1] | max * 2, mistral_wsgi_processes_max] | min }} mistral_wsgi_threads: 1 mistral_uwsgi_tls: crt: "{{ mistral_ssl_cert }}" key: "{{ mistral_ssl_key }}" # RPC mistral_oslomsg_rpc_host_group: "{{ oslomsg_rpc_host_group | default('rabbitmq_all') }}" mistral_oslomsg_rpc_setup_host: "{{ (mistral_oslomsg_rpc_host_group in groups) | ternary(groups[mistral_oslomsg_rpc_host_group][0], 'localhost') }}" mistral_oslomsg_rpc_transport: "{{ oslomsg_rpc_transport | default('rabbit') }}" mistral_oslomsg_rpc_servers: "{{ oslomsg_rpc_servers | default('127.0.0.1') }}" 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_policies: [] # vhost name depends on value of oslomsg_rabbit_quorum_queues. In case quorum queues # are not used - vhost name will be prefixed with leading `/`. mistral_oslomsg_rpc_vhost: - name: /mistral state: "{{ mistral_oslomsg_rabbit_quorum_queues | ternary('absent', 'present') }}" - name: mistral state: "{{ mistral_oslomsg_rabbit_quorum_queues | ternary('present', 'absent') }}" 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_configure: "{{ oslomsg_notify_configure | default(False) }}" mistral_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}" mistral_oslomsg_notify_setup_host: "{{ (mistral_oslomsg_notify_host_group in groups) | ternary(groups[mistral_oslomsg_notify_host_group][0], 'localhost') }}" mistral_oslomsg_notify_transport: "{{ oslomsg_notify_transport | default('rabbit') }}" mistral_oslomsg_notify_servers: "{{ oslomsg_notify_servers | default('127.0.0.1') }}" mistral_oslomsg_notify_port: "{{ oslomsg_notify_port | default('5672') }}" 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('') }}" mistral_oslomsg_notify_policies: [] ## RabbitMQ integration mistral_oslomsg_rabbit_quorum_queues: "{{ oslomsg_rabbit_quorum_queues | default(True) }}" mistral_oslomsg_rabbit_stream_fanout: "{{ oslomsg_rabbit_stream_fanout | default(mistral_oslomsg_rabbit_quorum_queues) }}" mistral_oslomsg_rabbit_transient_quorum_queues: "{{ oslomsg_rabbit_transient_quorum_queues | default(mistral_oslomsg_rabbit_stream_fanout) }}" mistral_oslomsg_rabbit_qos_prefetch_count: "{{ oslomsg_rabbit_qos_prefetch_count | default(mistral_oslomsg_rabbit_stream_fanout | ternary(10, 0)) }}" mistral_oslomsg_rabbit_queue_manager: "{{ oslomsg_rabbit_queue_manager | default(mistral_oslomsg_rabbit_quorum_queues) }}" mistral_oslomsg_rabbit_quorum_delivery_limit: "{{ oslomsg_rabbit_quorum_delivery_limit | default(0) }}" mistral_oslomsg_rabbit_quorum_max_memory_bytes: "{{ oslomsg_rabbit_quorum_max_memory_bytes | default(0) }}" # Database mistral_db_setup_host: "{{ openstack_db_setup_host | default('localhost') }}" mistral_db_setup_python_interpreter: >- {{ openstack_db_setup_python_interpreter | default( (mistral_db_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_facts['python']['executable'])) }} mistral_galera_address: "{{ galera_address | default('127.0.0.1') }}" mistral_galera_database: mistral mistral_galera_user: mistral mistral_galera_use_ssl: "{{ galera_use_ssl | default(False) }}" mistral_galera_ssl_ca_cert: "{{ galera_ssl_ca_cert | default('') }}" mistral_galera_port: "{{ galera_port | default('3306') }}" mistral_db_max_overflow: "{{ openstack_db_max_overflow | default('50') }}" mistral_db_max_pool_size: "{{ openstack_db_max_pool_size | default('5') }}" mistral_db_pool_timeout: "{{ openstack_db_pool_timeout | default('30') }}" mistral_db_connection_recycle_time: "{{ openstack_db_connection_recycle_time | default('600') }}" # Configuration options mistral_debug: "{{ debug | default(false) }}" mistral_bind_address: "{{ openstack_service_bind_address | default('0.0.0.0') }}" mistral_service_port: 8989 # Overrides mistral_notifier_init_overrides: {} mistral_executor_init_overrides: {} mistral_engine_init_overrides: {} mistral_api_init_overrides: {} mistral_api_uwsgi_ini_overrides: {} mistral_mistral_conf_overrides: {} mistral_policy_overrides: {} # Service setup mistral_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}" mistral_service_setup_host_python_interpreter: >- {{ openstack_service_setup_host_python_interpreter | default( (mistral_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_facts['python']['executable'])) }} mistral_service_name: mistral mistral_service_type: workflowv2 mistral_service_description: OpenStack Workflow service mistral_service_in_ldap: "{{ service_ldap_backend_enabled | default(False) }}" mistral_service_user_domain_id: default mistral_service_user_name: mistral mistral_service_project_domain_id: default mistral_service_project_name: service mistral_service_role_names: - admin - service mistral_service_token_roles: - service mistral_service_token_roles_required: "{{ openstack_service_token_roles_required | default(True) }}" mistral_service_region: "{{ service_region | default('RegionOne') }}" mistral_service_proto: http mistral_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(mistral_service_proto) }}" mistral_service_publicurl: "{{ mistral_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ mistral_service_port }}/v2" mistral_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(mistral_service_proto) }}" mistral_service_internalurl: "{{ mistral_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ mistral_service_port }}/v2" mistral_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(mistral_service_proto) }}" mistral_service_adminurl: "{{ mistral_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ mistral_service_port }}/v2" # Specific pip packages provided by the user mistral_user_pip_packages: [] ### ### Backend TLS ### # Define if communication between haproxy and service backends should be # encrypted with TLS. mistral_backend_ssl: "{{ openstack_service_backend_ssl | default(False) }}" # Storage location for SSL certificate authority mistral_pki_dir: "{{ openstack_pki_dir | default('/etc/openstack_deploy/pki') }}" # Delegated host for operating the certificate authority mistral_pki_setup_host: "{{ openstack_pki_setup_host | default('localhost') }}" # mistral server certificate mistral_pki_keys_path: "{{ mistral_pki_dir ~ '/certs/private/' }}" mistral_pki_certs_path: "{{ mistral_pki_dir ~ '/certs/certs/' }}" mistral_pki_intermediate_cert_name: "{{ openstack_pki_service_intermediate_cert_name | default('ExampleCorpIntermediate') }}" mistral_pki_regen_cert: "" mistral_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ management_address) }}" mistral_pki_certificates: - name: "mistral_{{ ansible_facts['hostname'] }}" provider: ownca cn: "{{ ansible_facts['hostname'] }}" san: "{{ mistral_pki_san }}" signed_by: "{{ mistral_pki_intermediate_cert_name }}" # mistral destination files for SSL certificates mistral_ssl_cert: /etc/mistral/mistral.pem mistral_ssl_key: /etc/mistral/mistral.key # Installation details for SSL certificates mistral_pki_install_certificates: - src: "{{ mistral_user_ssl_cert | default(mistral_pki_certs_path ~ 'mistral_' ~ ansible_facts['hostname'] ~ '-chain.crt') }}" dest: "{{ mistral_ssl_cert }}" owner: "{{ mistral_system_user_name }}" group: "{{ mistral_system_user_name }}" mode: "0644" - src: "{{ mistral_user_ssl_key | default(mistral_pki_keys_path ~ 'mistral_' ~ ansible_facts['hostname'] ~ '.key.pem') }}" dest: "{{ mistral_ssl_key }}" owner: "{{ mistral_system_user_name }}" group: "{{ mistral_system_user_name }}" mode: "0600" # Define user-provided SSL certificates # mistral_user_ssl_cert: <path to cert on ansible deployment host> # mistral_user_ssl_key: <path to cert on ansible deployment host> |