{"id":371,"sha1":"ef2230ce5f5922851bd7e496120bb8cee14bd743","playbook":{"id":3,"items":{"plays":37,"tasks":567,"results":554,"hosts":7,"files":221,"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":4,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["setup-infrastructure.yml"]},"labels":[{"id":1,"name":"check:False"},{"id":2,"name":"tags:all"}],"started":"2025-12-14T10:15:01.440414Z","ended":"2025-12-14T10:21:34.655502Z","duration":"00:06:33.215088","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.13.5","server_version":"1.7.4","status":"completed","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/setup-infrastructure.yml","controller":"aio1.openstack.local","user":"root"},"content":"---\n# Copyright 2021, BBC\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: Ensure deploy host u-c directory exists\n  ansible.builtin.file:\n    state: directory\n    path: \"{{ repo_upper_constraints_path }}\"\n    mode: \"0755\"\n  delegate_to: localhost\n\n# by default the u-c file is retrieved by https\n- name: Retrieve upper constraints using https\n  ansible.builtin.get_url:\n    url: \"{{ user_requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }}\"\n    dest: \"{{ repo_upper_constraints_path }}/{{ 'upper_constraints_' ~ requirements_git_install_branch | default('master') ~ '.txt' }}\"\n    mode: \"0644\"\n    timeout: 30\n  when: requirements_git_repo is search('http')\n  register: _fetch_uc_https\n  until: _fetch_uc_https is success\n  retries: 5\n  delay: 5\n  delegate_to: localhost\n\n- name: Retrieve local filesystem upper constraints in CI\n  ansible.builtin.command:\n    git --git-dir={{ requirements_git_repo.split('file://')[1] }}/.git show {{ requirements_git_install_branch | default('master') }}:upper-constraints.txt\n  when: requirements_git_repo is search('file://')\n  register: _uc_contents_git\n  delegate_to: localhost\n  tags:\n    - skip_ansible_lint\n\n- name: Copy local upper constraints content to a file in CI\n  ansible.builtin.copy:\n    content: \"{{ _uc_contents_git.stdout }}\"\n    dest: \"{{ repo_upper_constraints_path }}/{{ 'upper_constraints_' ~ requirements_git_install_branch | default('master') ~ '.txt' }}\"\n    mode: \"0644\"\n  when: requirements_git_repo is search('file://')\n  delegate_to: localhost\n\n- name: Copy all constraints files from the deploy host to the first repo server\n  ansible.builtin.copy:\n    src: \"{{ repo_upper_constraints_path }}/\"\n    dest: \"{{ repo_server_directory_root }}/constraints/\"\n    owner: \"{{ repo_service_user_name }}\"\n    group: \"{{ repo_service_group_name }}\"\n    mode: \"0644\"\n\n- name: Create a symlink for constraints file\n  ansible.builtin.file:\n    src: \"{{ repo_server_directory_root }}/constraints/{{ 'upper_constraints_' ~ requirements_git_install_branch | default('master') ~ '.txt' }}\"\n    dest: \"{{ repo_server_directory_root }}/constraints/upper_constraints_cached.txt\"\n    owner: \"{{ repo_service_user_name }}\"\n    group: \"{{ repo_service_group_name }}\"\n    state: link\n    mode: \"0644\"\n","created":"2025-12-14T10:16:55.936930Z","updated":"2025-12-14T10:16:55.936942Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-repo_server/tasks/repo_install_constraints.yml"}