123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- # Copyright 2021 Dell Inc. or its subsidiaries. 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.
- ---
- # Tasks file for mngmnt_network
- - name: Check mngmnt_network_container status on machine
- include_tasks: check_prerequisites.yml
- - name: Modify firewall settings for mngmnt_network_container
- import_tasks: firewall_settings.yml
- when: not mngmnt_network_container_status
- - name: Include common variables
- include_vars: ../../control_plane_common/vars/main.yml
- when: not mngmnt_network_container_status
- - name: Internet validation
- include_tasks: ../../control_plane_common/tasks/internet_validation.yml
- when: not mngmnt_network_container_status
- - name: Include variable file base_vars.yml
- include_vars: "{{ mngmnt_base_file }}"
- #- name: Fetch base inputs
- # include_tasks: ../../control_plane_common/tasks/fetch_base_inputs.yml
- # when: not mngmnt_network_container_status
- - name: Dhcp Configuration
- import_tasks: dhcp_configure.yml
- when: (not mngmnt_network_container_image_status) or ( backup_map_status == true)
- #- name: Mapping file validation
- # import_tasks: mapping_file.yml
- # when: (not mngmnt_network_container_image_status) and (mapping_file == true) or ( backup_map_status == true)
- - name: mngmnt_network_container image creation
- import_tasks: mngmnt_network_container_image.yml
- when: not mngmnt_network_container_status
- - name: mngmnt_network_container configuration
- import_tasks: configure_mngmnt_network_container.yml
- - name: mngmnt_network_container container status message
- block:
- - debug:
- msg: "{{ message_skipped }}"
- verbosity: 2
- when: mngmnt_network_container_status
- - debug:
- msg: "{{ message_installed }}"
- verbosity: 2
- when: not mngmnt_network_container_status
- tags: install
|