main.yml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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: Set the docker os version
  24. import_tasks: set_docker_os.yml
  25. tags: init
  26. - name: Basic configuration
  27. import_tasks: fetch_base_inputs.yml
  28. - name: Omnia inputs validation
  29. import_tasks: verify_omnia_params.yml
  30. - name: Credentials inputs validation
  31. import_tasks: verify_login_inputs.yml
  32. - name: iDRAC inputs validation
  33. import_tasks: validate_idrac_vars.yml
  34. when: idrac_support
  35. - name: Subnet manager inputs validation
  36. import_tasks: fetch_sm_inputs.yml
  37. when: ib_switch_support
  38. - name: Security inputs validation
  39. import_tasks: fetch_security_inputs.yml
  40. when: enable_security_support
  41. - name: Host mapping file validation
  42. import_tasks: validate_host_mapping_file.yml
  43. when: host_mapping_file_path | length > 0
  44. tags: [ validate, pxe ]
  45. - name: Device mapping file validation
  46. import_tasks: validate_device_mapping_file.yml
  47. when: mngmnt_mapping_file_path | length > 0
  48. tags: [ validate, network-device ]
  49. - name: Encrypt idrac_tools_vars.yml
  50. import_tasks: encrypt_idrac_tools_vars.yml
  51. when: idrac_support
  52. tags: init
  53. - name: NFS Server setup for offline repo and awx
  54. import_tasks: nfs_server_setup.yml
  55. tags: init