--- # Copyright Red Hat, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. - name: Install repo-setup ansible.builtin.import_tasks: install.yml - name: Configure repo-setup ansible.builtin.import_tasks: configure.yml - name: Include component repo if required ansible.builtin.import_tasks: component_repo.yml when: ( cifmw_repo_setup_component_name|length > 0 and update_playbook_run is undefined and not cifmw_run_update|default(false)) or ( cifmw_repo_setup_component_name|length > 0 and update_playbook_run is defined and cifmw_run_update|default(false)) - name: Generate additional artifacts ansible.builtin.import_tasks: artifacts.yml - name: Generate downstream base os repos ansible.builtin.import_tasks: rhos_release.yml when: cifmw_repo_setup_enable_rhos_release | bool - name: Update generated repos with mirror repos ansible.builtin.import_tasks: ci_mirror.yml - name: Add gating repo ansible.builtin.import_tasks: populate_gating_repo.yml when: content_provider_registry_ip is defined - name: Sync generated repos to yum.repos.d ansible.builtin.import_tasks: sync_repos.yml