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_keystone/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 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 | --- # Copyright 2014, Rackspace US, 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. ## Verbosity Options debug: false # Set the host which will execute the shade modules # for the service setup. The host must already have # clouds.yaml properly configured. keystone_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}" keystone_service_setup_host_python_interpreter: >- {{ openstack_service_setup_host_python_interpreter | default( (keystone_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_facts['python']['executable'])) }} # Set the package install state for distribution packages # Options are 'present' and 'latest' keystone_package_state: "{{ package_state | default('latest') }}" # Set installation method. keystone_install_method: "{{ service_install_method | default('source') }}" keystone_venv_python_executable: "{{ openstack_venv_python_executable | default('python3') }}" # Centos shibboleth repository options keystone_centos_shibboleth_mirror: "https://shibboleth.net/cgi-bin/mirrorlist.cgi/rockylinux{{ ansible_facts['distribution_major_version'] }}" keystone_centos_shibboleth_key: "https://shibboleth.net/downloads/service-provider/RPMS/cantor.repomd.xml.key" # Role standard API override this option in the OS variable files keystone_shibboleth_repo: {} keystone_git_repo: https://opendev.org/openstack/keystone keystone_git_install_branch: master keystone_upper_constraints_url: >- {{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }} keystone_git_constraints: - "--constraint {{ keystone_upper_constraints_url }}" keystone_pip_install_args: "{{ pip_install_options | default('') }}" # Name of the virtual env to deploy into keystone_venv_tag: "{{ venv_tag | default('untagged') }}" keystone_bin: "{{ _keystone_bin }}" keystone_fatal_deprecations: false ## System info keystone_system_user_name: keystone keystone_system_group_name: keystone keystone_system_additional_groups: - ssl_cert keystone_system_shell: /bin/bash keystone_system_comment: keystone system user keystone_system_user_home: "/var/lib/{{ keystone_system_user_name }}" ## Drivers keystone_auth_methods: "password,token,application_credential" keystone_identity_driver: sql keystone_token_provider: fernet keystone_token_expiration: 43200 keystone_token_cache_time: 3600 # Set the revocation driver used within keystone. keystone_revocation_driver: sql keystone_revocation_cache_time: 3600 keystone_revocation_expiration_buffer: 1800 ## Fernet config vars keystone_fernet_tokens_key_repository: "/etc/keystone/fernet-keys" keystone_fernet_tokens_max_active_keys: 7 # Any of the following rotation times are valid: # reboot, yearly, annually, monthly, weekly, daily, hourly keystone_fernet_rotation: daily keystone_fernet_auto_rotation_script: /opt/keystone-fernet-rotate.sh ## Credentials config vars keystone_credential_key_repository: /etc/keystone/credential-keys # Any of the following rotation times are valid: # reboot, yearly, annually, monthly, weekly, daily, hourly keystone_credential_rotation: weekly keystone_credential_auto_rotation_script: /opt/keystone-credential-rotate.sh keystone_assignment_driver: sql keystone_resource_cache_time: 3600 keystone_resource_driver: sql keystone_bind_address: "{{ openstack_service_bind_address | default('0.0.0.0') }}" ## Database info keystone_db_setup_host: "{{ openstack_db_setup_host | default('localhost') }}" keystone_db_setup_python_interpreter: >- {{ openstack_db_setup_python_interpreter | default( (keystone_db_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_facts['python']['executable'])) }} keystone_galera_address: "{{ galera_address | default('127.0.0.1') }}" keystone_galera_user: keystone keystone_galera_database: keystone keystone_galera_port: "{{ galera_port | default('3306') }}" keystone_database_connection_string: >- mysql+pymysql://{{ keystone_galera_user }}:{{ keystone_container_mysql_password }}@{{ keystone_galera_address }}:{{ keystone_galera_port }}/{{ keystone_galera_database }}?charset=utf8{% if keystone_galera_use_ssl | bool %}&ssl_verify_cert=true{% if keystone_galera_ssl_ca_cert | length > 0 %}&ssl_ca={{ keystone_galera_ssl_ca_cert }}{% endif %}{% endif %} ## Database SSL keystone_galera_use_ssl: "{{ galera_use_ssl | default(False) }}" keystone_galera_ssl_ca_cert: "{{ galera_ssl_ca_cert | default('') }}" # Database tuning keystone_database_enabled: true keystone_db_max_overflow: "{{ openstack_db_max_overflow | default('50') }}" keystone_db_max_pool_size: "{{ openstack_db_max_pool_size | default('5') }}" keystone_db_pool_timeout: "{{ openstack_db_pool_timeout | default('30') }}" keystone_db_connection_recycle_time: "{{ openstack_db_connection_recycle_time | default('600') }}" ## Oslo Messaging keystone_messaging_enabled: true # RPC keystone_oslomsg_rpc_configure: false keystone_oslomsg_rpc_host_group: "{{ oslomsg_rpc_host_group | default('rabbitmq_all') }}" keystone_oslomsg_rpc_setup_host: "{{ (keystone_oslomsg_rpc_host_group in groups) | ternary(groups[keystone_oslomsg_rpc_host_group][0], 'localhost') }}" keystone_oslomsg_rpc_transport: "{{ oslomsg_rpc_transport | default('rabbit') }}" keystone_oslomsg_rpc_servers: "{{ oslomsg_rpc_servers | default('127.0.0.1') }}" keystone_oslomsg_rpc_port: "{{ oslomsg_rpc_port | default('5672') }}" keystone_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl | default(False) }}" keystone_oslomsg_rpc_userid: keystone keystone_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 `/`. keystone_oslomsg_rpc_vhost: - name: /keystone state: "{{ keystone_oslomsg_rabbit_quorum_queues | ternary('absent', 'present') }}" - name: keystone state: "{{ keystone_oslomsg_rabbit_quorum_queues | ternary('present', 'absent') }}" keystone_oslomsg_rpc_ssl_version: "{{ oslomsg_rpc_ssl_version | default('TLSv1_2') }}" keystone_oslomsg_rpc_ssl_ca_file: "{{ oslomsg_rpc_ssl_ca_file | default('') }}" # Notify keystone_oslomsg_notify_configure: "{{ oslomsg_notify_configure | default(keystone_ceilometer_enabled) }}" keystone_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group | default('rabbitmq_all') }}" keystone_oslomsg_notify_setup_host: >- {{ (keystone_oslomsg_notify_host_group in groups) | ternary(groups[keystone_oslomsg_notify_host_group][0], 'localhost') }} keystone_oslomsg_notify_transport: "{{ oslomsg_notify_transport | default('rabbit') }}" keystone_oslomsg_notify_servers: "{{ oslomsg_notify_servers | default('127.0.0.1') }}" keystone_oslomsg_notify_port: "{{ oslomsg_notify_port | default('5672') }}" keystone_oslomsg_notify_use_ssl: "{{ oslomsg_notify_use_ssl | default(False) }}" keystone_oslomsg_notify_userid: "{{ keystone_oslomsg_rpc_userid }}" keystone_oslomsg_notify_password: "{{ keystone_oslomsg_rpc_password }}" keystone_oslomsg_notify_vhost: "{{ keystone_oslomsg_rpc_vhost }}" keystone_oslomsg_notify_ssl_version: "{{ oslomsg_notify_ssl_version | default('TLSv1_2') }}" keystone_oslomsg_notify_ssl_ca_file: "{{ oslomsg_notify_ssl_ca_file | default('') }}" keystone_oslomsg_notify_policies: [] ## RabbitMQ integration keystone_oslomsg_rabbit_quorum_queues: "{{ oslomsg_rabbit_quorum_queues | default(True) }}" keystone_oslomsg_rabbit_stream_fanout: "{{ oslomsg_rabbit_stream_fanout | default(keystone_oslomsg_rabbit_quorum_queues) }}" keystone_oslomsg_rabbit_transient_quorum_queues: "{{ oslomsg_rabbit_transient_quorum_queues | default(keystone_oslomsg_rabbit_stream_fanout) }}" keystone_oslomsg_rabbit_qos_prefetch_count: "{{ oslomsg_rabbit_qos_prefetch_count | default(keystone_oslomsg_rabbit_stream_fanout | ternary(10, 0)) }}" keystone_oslomsg_rabbit_queue_manager: "{{ oslomsg_rabbit_queue_manager | default(keystone_oslomsg_rabbit_quorum_queues) }}" keystone_oslomsg_rabbit_quorum_delivery_limit: "{{ oslomsg_rabbit_quorum_delivery_limit | default(0) }}" keystone_oslomsg_rabbit_quorum_max_memory_bytes: "{{ oslomsg_rabbit_quorum_max_memory_bytes | default(0) }}" ## Role info keystone_role_name: admin ## Admin info keystone_admin_user_name: admin keystone_admin_tenant_name: admin keystone_admin_description: Admin Tenant ## Service Type and Data keystone_service_setup: true keystone_service_region: "{{ service_region | default('RegionOne') }}" keystone_service_name: keystone keystone_service_port: 5000 keystone_service_type: identity keystone_service_description: "Keystone Identity Service" keystone_service_tenant_name: service keystone_service_project_description: "OpenStack Services" keystone_service_proto: http keystone_service_publicuri_proto: "{{ openstack_service_publicuri_proto | default(keystone_service_proto) }}" keystone_service_adminuri_proto: "{{ openstack_service_adminuri_proto | default(keystone_service_proto) }}" keystone_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(keystone_service_proto) }}" keystone_service_internaluri_insecure: false keystone_service_adminuri_insecure: false keystone_service_publicuri: "{{ keystone_service_publicuri_proto }}://{{ external_lb_vip_address }}:{{ keystone_service_port }}" keystone_service_internaluri: "{{ keystone_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ keystone_service_port }}" keystone_service_adminuri: "{{ keystone_service_adminuri_proto }}://{{ internal_lb_vip_address }}:{{ keystone_service_port }}" ## Set this value to override the "public_endpoint" keystone.conf variable # keystone_public_endpoint: "{{ keystone_service_publicuri }}" # Enable or disable uWSGI as the primary service manager. While uWSGI is used # for basic deployments, when this option is enabled it will become the sole # service manager instead of being a proxy target. keystone_use_uwsgi: false # Apache web server will handle all requests and will act as a # reverse proxy to uWSGI when the `keystone_use_uwsgi` option is not enabled. # If internal TLS/SSL certificates are configured, they are implemented in # this web server's configuration. Using a web server for endpoints is # far better for scale and allows the use of additional modules to improve # performance or security, leaving uWSGI to only have to be used for running # the service. # keystone_web_server_bind_address: "{{ openstack_service_bind_address | default('0.0.0.0') }}" ## Apache setup keystone_apache_log_level: info keystone_apache_custom_log_format: combined ## uWSGI setup keystone_wsgi_threads: 1 ## Cap the maximun number of processes when a user value is unspecified. keystone_wsgi_processes_max: 16 keystone_wsgi_processes: "{{ [[ansible_facts['processor_vcpus'] | default(1), 1] | max * 2, keystone_wsgi_processes_max] | min }}" keystone_uwsgi_bind_address: "{{ openstack_service_bind_address | default('0.0.0.0') }}" keystone_uwsgi_ports: keystone-wsgi-public: socket: 35358 keystone_uwsgi_ini_overrides: {} keystone_default_uwsgi_overrides: uwsgi: socket: "127.0.0.1:{{ keystone_uwsgi_ports['keystone-wsgi-public']['socket'] }}" # Define if communication between haproxy and service backends should be # encrypted with TLS. keystone_backend_ssl: "{{ openstack_service_backend_ssl | default(False) }}" # The local address used for the keystone node keystone_node_address: "{{ management_address | default('127.0.0.1') }}" # Storage location for SSL certificate authority keystone_pki_dir: "{{ openstack_pki_dir }}" # Delegated host for operating the certificate authority keystone_pki_setup_host: "{{ openstack_pki_setup_host | default('localhost') }}" keystone_pki_keys_path: "{{ keystone_pki_dir ~ '/certs/private/' }}" keystone_pki_certs_path: "{{ keystone_pki_dir ~ '/certs/certs/' }}" keystone_pki_intermediate_cert_name: "{{ openstack_pki_service_intermediate_cert_name }}" keystone_pki_intermediate_cert_path: >- {{ keystone_pki_dir ~ '/roots/' ~ keystone_pki_intermediate_cert_name ~ '/certs/' ~ keystone_pki_intermediate_cert_name ~ '.crt' }} keystone_pki_regen_cert: "" # By default, CA creation is controlled using the CA 'condition' field keystone_pki_create_ca: true # SAN which will be used by HTTP role to generate certificatess keystone_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ keystone_node_address) }}" # An optional private certificate authority for when Keystone is an IDP keystone_idp_authority_name: "KeystoneIDPAuthority" keystone_pki_authorities: - name: "{{ keystone_idp_authority_name }}" country: "GB" state_or_province_name: "England" organization_name: "Example Corporation" organizational_unit_name: "IT Security" cn: "Keystone IDP CA" provider: selfsigned basic_constraints: "CA:TRUE" key_usage: - digitalSignature - keyCertSign not_after: "+3650d" condition: "{{ (keystone_idp['certfile'] is defined) and _keystone_is_first_play_host }}" # Set to the value of keystone_idp_authority_name to regenerate the IDP CA keystone_pki_regen_ca: "" # Installation details for SSL certificates keystone_pki_install_certificates: # IDP certificates - src: "{{ keystone_pki_dir ~ '/roots/' ~ keystone_idp_authority_name ~ '/certs/' ~ keystone_idp_authority_name ~ '.crt' }}" dest: "{{ keystone_idp['certfile'] | default('') }}" owner: "{{ keystone_system_user_name }}" group: "keystone_system_group_name" mode: "0640" condition: "{{ keystone_idp['certfile'] is defined | bool }}" - src: "{{ keystone_pki_dir ~ '/roots/' ~ keystone_idp_authority_name ~ '/private/' ~ keystone_idp_authority_name ~ '.key.pem' }}" dest: "{{ keystone_idp['keyfile'] | default('') }}" owner: "{{ keystone_system_user_name }}" group: "{{ keystone_system_group_name }}" mode: "0640" condition: "{{ keystone_idp['keyfile'] is defined | bool }}" keystone_ssl_protocol: "{{ ssl_protocol | default('ALL -SSLv2 -SSLv3 -TLSv1 -TLSv1.1') }}" # TLS v1.2 and below keystone_ssl_cipher_suite_tls12: >- {{ keystone_ssl_cipher_suite | default(ssl_cipher_suite_tls12 | default('ECDH+AESGCM:ECDH+CHACHA20:ECDH+AES256:ECDH+AES128:!aNULL:!SHA1:!AESCCM')) }} # TLS v1.3 keystone_ssl_cipher_suite_tls13: >- {{ ssl_cipher_suite_tls13 | default('TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256') }} # Set these variables to deploy custom certificates # keystone_user_ssl_cert: <path to cert on ansible deployment host> # keystone_user_ssl_key: <path to cert on ansible deployment host> # keystone_user_ssl_ca_cert: <path to cert on ansible deployment host> # External SSL forwarding proto keystone_secure_proxy_ssl_header: X-Forwarded-Proto ## Override memcached_servers keystone_memcached_servers: "{{ memcached_servers }}" ## Caching # This is a list of strings, each string contains a cache server's # information (IP:port for example) # The cache_servers default backend is memcached, so this variable # should point to a list of memcached servers. # If empty, caching is disabled. keystone_cache_backend: "{{ openstack_cache_backend | default('oslo_cache.memcache_pool') }}" keystone_cache_backend_map: "{{ openstack_cache_backend_map | default(_keystone_cache_backend_map) }}" keystone_cache_servers: "{{ keystone_memcached_servers.split(',') }}" ## LDAP Section # Define Keystone LDAP domain configuration here. # This may be used to add configuration for a LDAP identity back-end. # See the http://docs.openstack.org/admin-guide/identity-integrate-with-ldap.html # # Each top-level entry is a domain name. Each entry below that are key: value pairs for # the ldap section in the domain-specific configuration file. # # (EXAMPLE LAYOUT) # keystone_ldap: # Users: # url: "ldap://127.0.0.1" # user: "root" # password: "secrete" # ... keystone_ldap: {} keystone_ldap_domain_config_dir: /etc/keystone/domains ## Policy vars # Provide a list of access controls to update the default policy.json with. These changes will be merged # with the access controls in the default policy.json. E.g. # keystone_policy_overrides: # identity:create_region: "rule:admin_required" # identity:update_region: "rule:admin_required" ## Federation # Enable the following section on the Keystone IdP keystone_idp: {} # keystone_idp: # certfile: "/etc/keystone/ssl/idp_signing_cert.pem" # keyfile: "/etc/keystone/ssl/idp_signing_key.pem" # self_signed_cert_subject: "/C=US/ST=Texas/L=San Antonio/O=IT/CN={{ external_lb_vip_address }}" # regen_cert: false # idp_entity_id: "{{ keystone_service_publicuri }}/v3//OS-FEDERATION/saml2/idp" # idp_sso_endpoint: "{{ keystone_service_publicuri }}/v3/OS-FEDERATION/saml2/sso" # idp_metadata_path: /etc/keystone/saml2_idp_metadata.xml # service_providers: # - id: "sp_1" # auth_url: https://example.com:5000/v3/OS-FEDERATION/identity_providers/idp/protocols/saml2/auth # sp_url: https://example.com:5000/Shibboleth.sso/SAML2/ECP # # the following settings are optional # organization_name: example_company # organization_display_name: Example Corp. # organization_url: example.com # contact_company: example_company # contact_name: John # contact_surname: Smith # contact_email: jsmith@example.com # contact_telephone: 555-55-5555 # contact_type: technical # Enable the following section in order to install and configure # Keystone as a Resource Service Provider (SP) and to configure # trusts with specific Identity Providers (IdP). keystone_sp: {} # keystone_sp: # cert_duration_years: 5 # apache_mod: shibboleth #or mod_auth_openidc # cadf_notifications: false # cadf_notifications_opt_out: # - identity.authenticate.failed # - identity.authenticate.pending # - identity.authenticate.success # trusted_dashboard_list: # - "https://{{ external_lb_vip_address }}/auth/websso/" # - "https://{{ horizon_server_name }}/auth/websso/" # trusted_idp_list: # note that only one of these is supported at any one time for now # - name: "keystone-idp" # domain_id: "default" # display_name: "Keystone IDP" # Optional, used in Horizon IDP dropdown # entity_ids: # - 'https://keystone-idp:5000/v3/OS-FEDERATION/saml2/idp' # metadata_uri: 'https://keystone-idp:5000/v3/OS-FEDERATION/saml2/metadata' # metadata_file: 'metadata-keystone-idp.xml' # metadata_reload: 1800 # federated_identities: # - domain: Default # project: fedproject # group: fedgroup # role: member # protocols: # - name: saml2 # mapping: # name: keystone-idp-mapping # rules: # - remote: # - type: openstack_user # local: # - group: # name: fedgroup # domain: # name: Default # user: # name: '{0}' # attributes: # - name: openstack_user # id: openstack_user # - name: openstack_roles # id: openstack_roles # - name: openstack_project # id: openstack_project # - name: openstack_user_domain # id: openstack_user_domain # - name: openstack_project_domain # id: openstack_project_domain # # - name: 'testshib-idp' # entity_ids: # - 'https://idp.testshib.org/idp/shibboleth' # metadata_uri: 'http://www.testshib.org/metadata/testshib-providers.xml' # metadata_file: 'metadata-testshib-idp.xml' # metadata_reload: 1800 # federated_identities: # - domain: Default # project: fedproject # group: fedgroup # role: member # protocols: # - name: saml2 # mapping: # name: testshib-idp-mapping # rules: # - remote: # - type: eppn # local: # - group: # name: fedgroup # domain: # name: Default # - user: # name: '{0}' # # - name: 'adfs-idp' # entity_ids: # - 'http://adfs.contoso.com/adfs/services/trust' # metadata_uri: 'https://adfs.contoso.com/FederationMetadata/2007-06/FederationMetadata.xml' # metadata_file: 'metadata-adfs-idp.xml' # metadata_reload: 1800 # federated_identities: # - domain: Default # project: fedproject # group: fedgroup # role: member # protocols: # - name: saml2 # mapping: # name: adfs-idp-mapping # rules: # - remote: # - type: upn # local: # - group: # name: fedgroup # domain: # name: Default # - user: # name: '{0}' # attributes: # - name: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn' # id: upn # # - name: "keycloak-oidc-idp" # oidc_provider_metadata_url: https://identity-provider/.well-known/openid-configuration # oidc_client_id: keystone # oidc_client_secret: secret # oidc_crypto_passphrase: random string # oidc_redirect_path: /oidc_redirect # oidc_oauth_introspection_endpoint: endpoint address (optional) # oidc_oauth_client_id: string (optional) # oidc_oauth_client_secret: secret (optional) # oidc_pkce_method: plain | S256 | referred_tb (optional) # oidc_outgoing_proxy: "proxy address" (optional setting) # oidc_auth_request_params: param=some+url+encoded+value¶m2=and+another+one (optional) # oidc_state_max_number_of_cookies: 5 false (optional) # oidc_default_url: https://example.com/callback (optional) # entity_ids: # - 'https://identity-provider/openid-endpoint/' # federated_identities: # - domain: Default # project: fedproject # group: fedgroup # role: member # protocols: # - name: openid # mapping: # name: keycloak-oidc-idp-openid-mapping # rules: # - remote: # - type: OIDC-email # local: # - group: # name: fedgroup # domain: # name: Default # user: # name: '{0}' keystone_service_in_ldap: "{{ service_ldap_backend_enabled | default(False) }}" # Keystone notification settings keystone_ceilometer_enabled: "{{ (groups['ceilometer_all'] is defined) and (groups['ceilometer_all'] | length > 0) }}" # Common pip packages keystone_pip_packages: - "git+{{ keystone_git_repo }}@{{ keystone_git_install_branch }}#egg=keystone" - ldappool - osprofiler - PyMySQL - "{{ _keystone_cache_backend_package }}" - python-openstackclient - systemd-python - pyngus # Specific pip packages provided by the user keystone_user_pip_packages: [] # NOTE(cloudnull): Tunable SSO callback file file-based overrides If defined, # it'll be read from the deployment host, interpreted by the # template engine and copied to the target host. # keystone_sso_callback_file_path: "/etc/openstack_deploy/keystone/sso_callback_template.html" ## Tunable file-based overrides # The contents of these files, if they exist, are read from the # specified path on the deployment host, interpreted by the # template engine and copied to the target host. If they do # not exist then they will be generated on first playbook run. shibboleth_cert_user_file_path: "/etc/openstack_deploy/keystone/sp-cert.pem" shibboleth_key_user_file_path: "/etc/openstack_deploy/keystone/sp-key.pem" ## Tunable var-based overrides # The contents of these are templated over the default files. keystone_keystone_conf_overrides: {} keystone_keystone_default_conf_overrides: {} keystone_policy_overrides: {} keystone_required_secrets: - keystone_auth_admin_password - keystone_container_mysql_password - keystone_oslomsg_rpc_password - keystone_oslomsg_notify_password - keystone_rabbitmq_password keystone_uwsgi_init_overrides: {} ## Service Name-Group Mapping keystone_services: keystone-wsgi-public: group: keystone_all wsgi_app: true wsgi: "keystone.wsgi.api:application" uwsgi_overrides: >- {{ (keystone_use_uwsgi | bool) | ternary( keystone_default_uwsgi_overrides, keystone_default_uwsgi_overrides | combine(keystone_uwsgi_ini_overrides, recursive=True) ) }} uwsgi_bind_address: "{{ (keystone_use_uwsgi | bool) | ternary(keystone_uwsgi_bind_address, []) }}" uwsgi_port: "{{ (keystone_use_uwsgi | bool) | ternary(keystone_service_port, '') }}" ## Extra HTTP headers for Keystone # Add any additional headers here that Keystone should return. # # Example: # # keystone_extra_headers: # - parameter: "Access-Control-Expose-Headers" # value: "X-Subject-Token" # - parameter: "Access-Control-Allow-Headers" # value: "Content-Type, X-Auth-Token" # - parameter: "Access-Control-Allow-Origin" # value: "*" keystone_extra_headers: [] # List of trusted IPs which can pass X-Forwarded-For keystone_set_real_ip_from: [] # Toggle whether memcache should be flushed when doing # database migrations. This is sometimes useful when # doing upgrades, but should not usually be required. # ref: https://bugs.launchpad.net/openstack-ansible/+bug/1793389 keystone_flush_memcache: false # host which holds the ssh certificate authority keystone_ssh_keypairs_setup_host: "{{ openstack_ssh_keypairs_setup_host | default('localhost') }}" # directory on the deploy host to create and store SSH keypairs keystone_ssh_keypairs_dir: "{{ openstack_ssh_keypairs_dir | default('/etc/openstack_deploy/ssh_keypairs') }}" # Each keystone host needs a signed ssh certificate to log into the others keystone_ssh_keypairs: - name: "keystone-{{ inventory_hostname }}" cert: signed_by: "{{ openstack_ssh_signing_key }}" principals: "{{ keystone_ssh_key_principals | default('keystone') }}" valid_from: "{{ keystone_ssh_key_valid_from | default('always') }}" valid_to: "{{ keystone_ssh_key_valid_to | default('forever') }}" # Each keystone host needs the signed ssh certificate installing to the keystone user keystone_ssh_keypairs_install_keys: owner: "{{ keystone_system_user_name }}" group: "{{ keystone_system_group_name }}" keys: - cert: "keystone-{{ inventory_hostname }}" dest: "{{ keystone_system_user_home }}/.ssh/id_rsa" # Each compute host must trust the SSHD certificate authoritiy in the sshd configuration keystone_ssh_keypairs_install_ca: "{{ openstack_ssh_keypairs_authorities }}" # Each compute host must allow SSH certificates with the appropriate principal to log into the keystone user keystone_ssh_keypairs_principals: - user: "{{ keystone_system_user_name }}" principals: "{{ keystone_ssh_key_principals | default(['keystone']) }}" keystone_ssh_extra_configuration: - regexp: "^PermitRootLogin" line: "PermitRootLogin prohibit-password" - regexp: "^TCPKeepAlive" line: "TCPKeepAlive yes" - regexp: "^UseDNS" line: "UseDNS no" - regexp: "^X11Forwarding" line: "X11Forwarding no" - regexp: "^PasswordAuthentication" line: "PasswordAuthentication no" |