main.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. - name: Subnet manager inputs validation
  32. import_tasks: fetch_sm_inputs.yml
  33. when: ib_switch_support
  34. - name: Security inputs validation
  35. import_tasks: fetch_security_inputs.yml
  36. when: enable_security_support
  37. - name: Host mapping file validation
  38. import_tasks: validate_host_mapping_file.yml
  39. when: host_mapping_file_path | length > 0
  40. tags: [ validate, pxe ]
  41. - name: Device mapping file validation
  42. import_tasks: validate_device_mapping_file.yml
  43. when: mngmnt_mapping_file_path | length > 0
  44. tags: [ validate, network-device ]
  45. - name: Encrypt idrac_tools_vars.yml
  46. import_tasks: encrypt_idrac_tools_vars.yml
  47. tags: init
  48. - name: NFS Server setup for offline repo and awx
  49. import_tasks: nfs_server_setup.yml
  50. tags: init