{"id":487,"sha1":"50948c77b43335a7f32eab649b4bc62669b525e4","playbook":{"id":4,"items":{"plays":104,"tasks":1377,"results":1365,"hosts":2,"files":504,"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-08T13:39:52.478534Z","ended":"2025-12-08T14:14:54.510371Z","duration":"00:35:02.031837","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.3","server_version":"1.7.4","status":"failed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-openstack.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2014, 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: 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.horizon is defined\n    - ansible_local.openstack_ansible.horizon.install_method is defined\n    - ansible_local.openstack_ansible.horizon.install_method != horizon_install_method\n\n- name: Gather variables for installation method\n  ansible.builtin.include_vars: \"{{ horizon_install_method }}_install.yml\"\n  tags:\n    - always\n\n- name: Importing horizon_pre_install tasks\n  ansible.builtin.import_tasks: horizon_pre_install.yml\n  tags:\n    - horizon-install\n\n- name: Importing horizon_install tasks\n  ansible.builtin.import_tasks: horizon_install.yml\n  tags:\n    - horizon-install\n\n- name: Define horizon_lib_dir when it's not set\n  when: horizon_lib_dir is not defined or (horizon_lib_dir is defined and not horizon_lib_dir)\n  block:\n    - name: Find the venv's python version\n      ansible.builtin.command: \"{{ horizon_bin }}/{{ horizon_venv_python_executable }} -c 'import horizon; print(horizon.__file__)'\"\n      changed_when: false\n      register: _horizon_python_venv_details\n    - name: Set python lib dir fact\n      ansible.builtin.set_fact:\n        horizon_lib_dir: \"{{ _horizon_python_venv_details.stdout | dirname | dirname }}\"\n  tags:\n    - always\n\n- name: Importing horizon_post_install tasks\n  ansible.builtin.import_tasks: horizon_post_install.yml\n  tags:\n    - horizon-config\n    - post-install\n\n- name: Importing uwsgi/apache tasks\n  ansible.builtin.import_tasks: \"{{ (horizon_use_uwsgi | bool) | ternary('horizon_uwsgi.yml', 'horizon_apache.yml') }}\"\n  tags:\n    - horizon-config\n\n- name: Importing horizon_translations_update tasks\n  ansible.builtin.import_tasks: horizon_translations_update.yml\n  when: horizon_translations_update | bool\n  tags:\n    - horizon-config\n    - horizon-translations\n\n- name: Flush handlers\n  ansible.builtin.meta: flush_handlers\n","created":"2025-12-08T13:39:59.458673Z","updated":"2025-12-08T13:39:59.458715Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-os_horizon/tasks/main.yml"}