{"id":621,"sha1":"0799121d9f48a7a3cc0f58e496c4990deb746e79","playbook":{"id":5,"items":{"plays":108,"tasks":618,"results":960,"hosts":9,"files":456,"records":0},"arguments":{"version":null,"verbosity":0,"private_key_file":null,"remote_user":null,"connection":"openstack.osa.ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"force_handlers":true,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/zuul/src/opendev.org/openstack/openstack-ansible/inventory/dynamic_inventory.py","/home/zuul/src/opendev.org/openstack/openstack-ansible/inventory/inventory.ini","/etc/openstack_deploy/inventory.ini"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":8,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["setup-openstack.yml"]},"labels":[{"id":1,"name":"check:False"},{"id":2,"name":"tags:all"}],"started":"2025-12-15T10:19:13.597292Z","ended":"2025-12-15T10:42:26.420131Z","duration":"00:23:12.822839","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.3","server_version":"1.7.4","status":"completed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-openstack.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2015, Rackspace US, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n- name: Fail if our required secrets are not present\n  ansible.builtin.fail:\n    msg: \"Please set the {{ item }} variable prior to applying this role.\"\n  when: (item is undefined) or (item is none)\n  with_items: \"{{ aodh_required_secrets }}\"\n  tags:\n    - always\n\n- name: Gather variables for each operating system\n  ansible.builtin.include_vars: \"{{ lookup('first_found', params) }}\"\n  vars:\n    params:\n      files:\n        - \"{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['distribution'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['os_family'] | lower }}-{{ ansible_facts['distribution_major_version'] | lower }}.yml\"\n        - \"{{ ansible_facts['distribution'] | lower }}.yml\"\n        - \"{{ ansible_facts['os_family'] | lower }}.yml\"\n      paths:\n        - \"{{ role_path }}/vars\"\n  tags:\n    - always\n\n- name: Fail if service was deployed using a different installation method\n  ansible.builtin.fail:\n    msg: \"Switching installation methods for OpenStack services is not supported\"\n  when:\n    - ansible_local is defined\n    - ansible_local.openstack_ansible is defined\n    - ansible_local.openstack_ansible.aodh is defined\n    - ansible_local.openstack_ansible.aodh.install_method is defined\n    - ansible_local.openstack_ansible.aodh.install_method != aodh_install_method\n\n- name: Gather variables for installation method\n  ansible.builtin.include_vars: \"{{ aodh_install_method }}_install.yml\"\n  tags:\n    - always\n\n- name: Including osa.db_setup role\n  ansible.builtin.include_role:\n    name: openstack.osa.db_setup\n    apply:\n      tags:\n        - common-db\n        - aodh-config\n  when:\n    - _aodh_is_first_play_host\n  vars:\n    _oslodb_setup_host: \"{{ aodh_db_setup_host }}\"\n    _oslodb_ansible_python_interpreter: \"{{ aodh_db_setup_python_interpreter }}\"\n    _oslodb_setup_endpoint: \"{{ aodh_db_address }}\"\n    _oslodb_setup_port: \"{{ aodh_galera_port }}\"\n    _oslodb_databases:\n      - name: \"{{ aodh_database_name }}\"\n        users:\n          - username: \"{{ aodh_database_user }}\"\n            password: \"{{ aodh_container_db_password }}\"\n  tags:\n    - always\n\n- name: Including osa.mq_setup role\n  ansible.builtin.include_role:\n    name: openstack.osa.mq_setup\n    apply:\n      tags:\n        - common-mq\n        - aodh-config\n  when:\n    - _aodh_is_first_play_host\n  vars:\n    _oslomsg_rpc_setup_host: \"{{ aodh_oslomsg_rpc_setup_host }}\"\n    _oslomsg_rpc_userid: \"{{ aodh_oslomsg_rpc_userid }}\"\n    _oslomsg_rpc_password: \"{{ aodh_oslomsg_rpc_password }}\"\n    _oslomsg_rpc_vhost: \"{{ aodh_oslomsg_rpc_vhost }}\"\n    _oslomsg_rpc_transport: \"{{ aodh_oslomsg_rpc_transport }}\"\n    _oslomsg_rpc_policies: \"{{ aodh_oslomsg_rpc_policies }}\"\n    _oslomsg_notify_setup_host: \"{{ aodh_oslomsg_notify_setup_host }}\"\n    _oslomsg_notify_userid: \"{{ aodh_oslomsg_notify_userid }}\"\n    _oslomsg_notify_password: \"{{ aodh_oslomsg_notify_password }}\"\n    _oslomsg_notify_vhost: \"{{ aodh_oslomsg_notify_vhost }}\"\n    _oslomsg_notify_transport: \"{{ aodh_oslomsg_notify_transport }}\"\n    _oslomsg_notify_policies: \"{{ aodh_oslomsg_notify_policies }}\"\n    _oslomsg_notify_configure: \"{{ aodh_oslomsg_notify_configure }}\"\n  tags:\n    - always\n\n- name: Importing aodh_pre_install install\n  ansible.builtin.import_tasks: aodh_pre_install.yml\n  tags:\n    - aodh-install\n\n- name: Importing aodh_install install\n  ansible.builtin.import_tasks: aodh_install.yml\n  tags:\n    - aodh-install\n\n- name: Create and install SSL certificates\n  ansible.builtin.include_role:\n    name: pki\n    tasks_from: main_certs.yml\n    apply:\n      tags:\n        - aodh-config\n        - pki\n  vars:\n    pki_setup_host: \"{{ aodh_pki_setup_host }}\"\n    pki_dir: \"{{ aodh_pki_dir }}\"\n    pki_create_certificates: \"{{ aodh_user_ssl_cert is not defined and aodh_user_ssl_key is not defined }}\"\n    pki_regen_cert: \"{{ aodh_pki_regen_cert }}\"\n    pki_certificates: \"{{ aodh_pki_certificates }}\"\n    pki_install_certificates: \"{{ aodh_pki_install_certificates }}\"\n  when:\n    - aodh_backend_ssl\n  tags:\n    - always\n\n- name: Importing aodh_post_install tasks\n  ansible.builtin.import_tasks: aodh_post_install.yml\n  tags:\n    - aodh-config\n    - post-install\n\n- name: Run the systemd service role\n  ansible.builtin.import_role:\n    name: systemd_service\n  vars:\n    systemd_user_name: \"{{ aodh_system_user_name }}\"\n    systemd_group_name: \"{{ aodh_system_group_name }}\"\n    systemd_tempd_prefix: openstack\n    systemd_slice_name: aodh\n    systemd_lock_path: /var/lock/aodh\n    systemd_service_cpu_accounting: true\n    systemd_service_block_io_accounting: true\n    systemd_service_memory_accounting: true\n    systemd_service_tasks_accounting: true\n    systemd_services: \"{{ filtered_aodh_services }}\"\n  tags:\n    - aodh-config\n    - systemd-service\n\n- name: Importing aodh_db_sync tasks\n  ansible.builtin.import_tasks: aodh_db_sync.yml\n  when:\n    - _aodh_is_first_play_host\n  tags:\n    - aodh-config\n\n- name: Import uwsgi role\n  ansible.builtin.import_role:\n    name: uwsgi\n  vars:\n    uwsgi_services: \"{{ uwsgi_aodh_services }}\"\n    uwsgi_install_method: \"{{ aodh_install_method }}\"\n  tags:\n    - aodh-config\n    - uwsgi\n\n- name: Including osa.service_setup roles\n  ansible.builtin.include_role:\n    name: openstack.osa.service_setup\n    apply:\n      tags:\n        - common-service\n        - aodh-config\n  vars:\n    _service_adminuri_insecure: \"{{ keystone_service_adminuri_insecure }}\"\n    _service_in_ldap: \"{{ aodh_service_in_ldap }}\"\n    _service_setup_host: \"{{ aodh_service_setup_host }}\"\n    _service_setup_host_python_interpreter: \"{{ aodh_service_setup_host_python_interpreter }}\"\n    _service_project_name: \"{{ aodh_service_project_name }}\"\n    _service_region: \"{{ aodh_service_region }}\"\n    _service_users:\n      - name: \"{{ aodh_service_user_name }}\"\n        password: \"{{ aodh_service_password }}\"\n        role: \"{{ aodh_service_role_names }}\"\n    _service_endpoints:\n      - service: \"{{ aodh_service_name }}\"\n        interface: \"public\"\n        url: \"{{ aodh_service_publicurl }}\"\n      - service: \"{{ aodh_service_name }}\"\n        interface: \"internal\"\n        url: \"{{ aodh_service_internalurl }}\"\n      - service: \"{{ aodh_service_name }}\"\n        interface: \"admin\"\n        url: \"{{ aodh_service_adminurl }}\"\n    _service_catalog:\n      - name: \"{{ aodh_service_name }}\"\n        type: \"{{ aodh_service_type }}\"\n        description: \"{{ aodh_service_description }}\"\n  when:\n    - _aodh_is_first_play_host\n  tags:\n    - always\n","created":"2025-12-15T10:19:24.860647Z","updated":"2025-12-15T10:19:24.860675Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-os_aodh/tasks/main.yml"}