main.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # Copyright 2022 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: Pre-requisite validation
  16. import_tasks: pre_requisite.yml
  17. - name: Internet validation
  18. import_tasks: internet_validation.yml
  19. tags: init
  20. - name: Common packages installation
  21. import_tasks: package_installation.yml
  22. tags: init
  23. - name: Basic configuration
  24. import_tasks: fetch_base_inputs.yml
  25. - name: Omnia inputs validation
  26. import_tasks: verify_omnia_params.yml
  27. - name: Credentials inputs validation
  28. import_tasks: verify_login_inputs.yml
  29. - name: iDRAC inputs validation
  30. import_tasks: validate_idrac_vars.yml
  31. when: idrac_support
  32. - name: Subnet manager inputs validation
  33. import_tasks: fetch_sm_inputs.yml
  34. when: ib_switch_support
  35. - name: Security inputs validation
  36. import_tasks: fetch_security_inputs.yml
  37. when: enable_security_support
  38. - name: Host mapping file validation
  39. import_tasks: validate_host_mapping_file.yml
  40. when: host_mapping_file_path | length > 0
  41. tags: [ validate, pxe ]
  42. - name: Device mapping file validation
  43. import_tasks: validate_device_mapping_file.yml
  44. when: mngmnt_mapping_file_path | length > 0
  45. tags: [ validate, network-device ]
  46. - name: Encrypt idrac_tools_vars.yml
  47. import_tasks: encrypt_idrac_tools_vars.yml
  48. when: idrac_support
  49. tags: init
  50. - name: NFS Server setup for offline repo and awx
  51. import_tasks: nfs_server_setup.yml
  52. tags: init