{"id":365,"sha1":"4eaea9b722011aa9c713a17fd0862f0b02f6b2f6","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 2022, BBC R&D.\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: Enable extra repositories\n  ansible.builtin.command: dnf config-manager --set-enabled \"{{ item }}\"\n  changed_when: false\n  with_items: \"{{ glusterfs_server_dnf_enable }}\"\n\n- name: Install gluster repo packages\n  ansible.builtin.package:\n    name: \"{{ glusterfs_server_dnf_sig_packages }}\"\n  when:\n    - glusterfs_server_dnf_sig_packages | length > 0\n\n- name: If a keyfile is provided, copy the gpg keyfile to the key location\n  ansible.builtin.copy:\n    src: \"{{ item.keyfile }}\"\n    dest: \"{{ item.key }}\"\n    mode: \"0644\"\n  with_items: \"{{ glusterfs_package_repo_keys | default([]) | selectattr('keyfile', 'defined') | list }}\"\n\n- name: Install gpg keys\n  ansible.builtin.rpm_key:\n    key: \"{{ key.key }}\"\n    validate_certs: \"{{ key.validate_certs | default(omit) }}\"\n    state: \"{{ key.state | default('present') }}\"\n  with_items: \"{{ glusterfs_package_repo_keys | default([]) }}\"\n  loop_control:\n    loop_var: key\n  register: _add_yum_keys\n  until: _add_yum_keys  is success\n  retries: 5\n  delay: 2\n\n- name: Install required RPM repositories\n  ansible.builtin.yum_repository:\n    name: \"{{ item.name }}\"\n    baseurl: \"{{ item.baseurl }}\"\n    description: \"{{ item.description }}\"\n    gpgkey: \"{{ item.gpgkey }}\"\n    gpgcheck: \"{{ item.gpgcheck }}\"\n    enabled: \"{{ item.enabled }}\"\n    state: \"{{ item.state }}\"\n    includepkgs: \"{{ item.includepkgs | default([]) }}\"\n  loop: \"{{ glusterfs_package_repos | default([]) }}\"\n  loop_control:\n    label: \"{{ item.name }}\"\n  register: install_epel_repo\n  until: install_epel_repo  is success\n  retries: 5\n  delay: 2\n\n- name: Apply systemctl overrides\n  ansible.builtin.import_role:\n    name: systemd_service\n  vars:\n    systemd_services:\n      - service_name: systemd-tmpfiles-setup-dev\n        load: false\n        systemd_overrides_only: true\n        systemd_overrides:\n          Unit:\n            ConditionCapability: \"\"\n","created":"2025-12-08T13:51:39.172669Z","updated":"2025-12-08T13:51:39.172681Z","path":"/etc/ansible/ansible_collections/openstack/osa/roles/glusterfs/tasks/glusterfs_install_dnf.yml"}