{"id":223,"sha1":"dff94bde340765367e3b839d139a68c0fe4bcfa9","playbook":{"id":3,"items":{"plays":37,"tasks":589,"results":576,"hosts":7,"files":222,"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-08T13:50:33.014895Z","ended":"2025-12-08T13:57:00.819740Z","duration":"00:06:27.804845","name":null,"ansible_version":"2.18.6","client_version":"1.7.4","python_version":"3.12.11","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 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: Create the system group\n  ansible.builtin.group:\n    name: \"{{ repo_service_group_name }}\"\n    state: \"present\"\n    system: \"yes\"\n\n- name: Create the system user\n  ansible.builtin.user:\n    name: \"{{ repo_service_user_name }}\"\n    group: \"{{ repo_service_group_name }}\"\n    comment: \"Apache Web Server user\"\n    shell: \"/usr/bin/false\"\n    system: \"yes\"\n    createhome: \"no\"\n    home: \"{{ repo_service_home_folder }}\"\n\n- name: Mount any remote volumes\n  ansible.builtin.include_role:\n    name: systemd_mount\n  vars:\n    systemd_mounts: \"{{ repo_server_systemd_mounts }}\"\n  when: repo_server_systemd_mounts | length > 0\n\n# NOTE(jrosser) ensure there is no race condition between mounting and using the filesystem\n- name: Wait until mount will finish for {{ repo_server_directory_root }}\n  ansible.builtin.command: mountpoint -q {{ repo_server_directory_root }}\n  changed_when: false\n  register: _repo_folder_is_mounted\n  retries: 5\n  delay: 2\n  until: _repo_folder_is_mounted.rc == 0\n  when: repo_server_systemd_mounts | length > 0\n\n- name: File and directory setup (non-root user)\n  ansible.builtin.file:\n    path: \"{{ item.path }}\"\n    state: \"{{ item.state | default('directory') }}\"\n    owner: \"{{ repo_service_user_name }}\"\n    group: \"{{ repo_service_group_name }}\"\n    mode: \"{{ item.mode | default('2755') }}\"\n  with_items:\n    - path: \"{{ repo_server_directory_root }}\"\n      mode: \"0755\"\n    - path: \"{{ repo_server_directory_root }}/os-releases\"\n    - path: \"{{ repo_server_directory_root }}/os-releases/{{ openstack_release }}\"\n    - path: \"{{ repo_server_directory_root }}/constraints\"\n","created":"2025-12-08T13:50:35.023875Z","updated":"2025-12-08T13:50:35.023892Z","path":"/home/zuul/src/opendev.org/openstack/openstack-ansible-repo_server/tasks/repo_pre_install.yml"}