--- # 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. # The layout is prepared and deployed when there exists no overlay. Irrespective # of the running state of the cluster. # If cluster is online and golden image exists all the tasks are skipped. - name: Define the variables for accessing the deployed cluster. tags: - always when: - not cifmw_devscripts_ocp_online | bool ansible.builtin.import_tasks: set_cluster_fact.yml - name: Restore pull-secret if mirror_images is enabled or bootstrapped with PreMetal when: > (cifmw_devscripts_config.mirror_images | default(false) | bool) or (cifmw_deploy_reproducer_env | default(false) | bool) tags: - devscripts_deploy ansible.builtin.include_tasks: 320_restore_pull_secret.yml - name: Disable OpenShift console when: cifmw_devscripts_disable_console | bool tags: - devscripts_deploy ansible.builtin.import_tasks: 341_remove_console.yml - name: Set etcd slow profile when: cifmw_devscripts_etcd_slow_profile | bool tags: - devscripts_deploy ansible.builtin.import_tasks: 340_etcd_slow_profile.yml - name: Prepare for disk overlay configuration when: - not cifmw_devscripts_ocp_comply | bool - cifmw_use_ocp_overlay | default(true) | bool tags: - devscripts_deploy ansible.builtin.include_tasks: 310_prepare_overlay.yml