main.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. ---
  15. - name: Mount Path
  16. set_fact:
  17. mount_path: "{{ role_path + '/../../..' }}"
  18. - name: Pre-requisite validation
  19. import_tasks: pre_requisite.yml
  20. - name: Internet validation
  21. import_tasks: internet_validation.yml
  22. - name: Common packages installation
  23. import_tasks: package_installation.yml
  24. - name: Basic Configuration
  25. import_tasks: fetch_base_inputs.yml
  26. - name: Credentials Configuration
  27. import_tasks: password_config.yml
  28. - name: omnia inputs validation
  29. import_tasks: verify_omnia_params.yml
  30. - name: Subnet manager inputs validation
  31. import_tasks: fetch_sm_inputs.yml
  32. when: ib_switch_support
  33. - name: Host mapping file validation
  34. import_tasks: validate_host_mapping_file.yml
  35. when: host_mapping_file_path |length >0
  36. - name: Device mapping file validation
  37. import_tasks: validate_device_mapping_file.yml
  38. when: mngmnt_mapping_file_path |length >0
  39. - name: Encrypt idrac_tools_vars.yml
  40. import_tasks: encrypt_idrac_tools_vars.yml
  41. - name: NFS Server setup for offline repo and awx
  42. import_tasks: nfs_server_setup.yml