main.yml 2.1 KB

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