main.yml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. # vars file for webui_awx
  16. # Usage: install_awx.yml
  17. awx_namespace: awx
  18. awx_operator_folder: "/root/awx-operator"
  19. awx_pv_yml_file_path: "{{ role_path }}/files/awx_projects_pv.yml"
  20. awx_postgres_pv_file_path: "{{ role_path }}/files/awx_postgres_pv.yml"
  21. awx_ee_docker_file: "{{ role_path }}/files/awx_ee.yml"
  22. awx_yml_file_path: "{{ role_path }}/files/awx.yml"
  23. postgres_storage_class: nfs-client
  24. projects_existing_claim: awx-pv-claim
  25. awx_version: 19.4.0
  26. awx_tag: 0.14.0
  27. file_perm: '0644'
  28. awx_wait_time: 90
  29. deployment_failure_msg: "Deployment failed due to docker pull rate limit"
  30. awx_operator_link: "https://github.com/ansible/awx-operator.git"
  31. awx_manager_file: '/root/awx-operator/config/manager/manager.yaml'
  32. # Usage: configure_settings.yml
  33. awx_port: 8052
  34. awx_service_name: awx-ui
  35. tower_config_file: "{{ role_path }}/files/.tower_cli.cfg"
  36. tower_vault_file: "{{ role_path }}/files/.tower_vault_key"
  37. vault_file_perm: '0644'
  38. awx_tcp_ports:
  39. - 80
  40. - 8383
  41. - 8686
  42. - 5432
  43. - 8052
  44. - 30000-32767
  45. awx_ui_msg: "AWX Upgrading"
  46. return_status: 200
  47. max_retries: 20
  48. max_delay: 15
  49. awx_ui_wait_time: 30
  50. # Usage: check_prerequisites.yml
  51. min_retries: 2
  52. # Usage: awx_logo.yml
  53. awx_login_info: "An open-source toolkit for deploying and managing high performance clusters for HPC, AI, and data analytics workloads."
  54. omnia_logo_path: "{{ role_path }}/files/omnia.png"
  55. logo_txt_path: "{{ role_path }}/files/.logo_base64.txt"
  56. # Usage: awx_configuration.yml
  57. default_org: Default
  58. default_template: 'Demo Job Template'
  59. default_project: 'Demo Project'
  60. default_credential: 'Demo Credential'
  61. default_credential_type: Machine
  62. organization_name: 'DellEMC'
  63. project_name: 'omnia'
  64. project_description: "Directory which contains configuration playbooks"
  65. inventory_names:
  66. - { name: idrac_inventory, description: "Inventory to store IPs of idrac servers", flag: true }
  67. - { name: ethernet_inventory, description: "Inventory to store IPs of ethernet switches", flag: "{{ ethernet_switch_support }}" }
  68. - { name: infiniband_inventory, description: "Inventory to store IPs of infiniband switches", flag: "{{ ib_switch_support }}" }
  69. - { name: powervault_me4_inventory, description: "Inventory to store IPs of ME4 servers", flag: "{{ powervault_support }}" }
  70. - { name: node_inventory, description: "Inventory to store host IPs of servers", flag: true }
  71. group_names:
  72. - { name: manager, description: "Group to store IP of head node" }
  73. - { name: compute, description: "Group to store IPs of compute nodes" }
  74. - { name: login_node, description: "Group to store IP of login node" }
  75. - { name: nfs_node, description: "Group to store IP of NFS node" }
  76. credential_details:
  77. - { name: idrac_credential, type: Network, username: "{{ idrac_username }}", password: "{{ idrac_password }}", flag: true }
  78. - { name: ethernet_credential, type: Machine, username: "{{ ethernet_switch_username }}", password: "{{ ethernet_switch_password }}", flag: "{{ ethernet_switch_support }}" }
  79. - { name: infiniband_credential, type: Network, username: "{{ ib_username }}", password: "{{ ib_password }}", flag: "{{ ib_switch_support }}" }
  80. - { name: powervault_me4_credential, type: Network, username: "{{ powervault_me4_username }}", password: "{{ powervault_me4_password }}", flag: "{{ powervault_support }}" }
  81. - { name: node_credential, type: Machine, username: root, password: "{{ provision_password }}", flag: true }
  82. job_template_details:
  83. - { name: idrac_template, inventory: idrac_inventory, playbook: control_plane/idrac.yml, credential: idrac_credential, flag: true }
  84. - { name: ethernet_template, inventory: ethernet_inventory, playbook: control_plane/ethernet.yml, credential: ethernet_credential, flag: "{{ ethernet_switch_support }}" }
  85. - { name: infiniband_template, inventory: infiniband_inventory, playbook: control_plane/infiniband.yml, credential: infiniband_credential, flag: "{{ ib_switch_support }}" }
  86. - { name: powervault_me4_template, inventory: powervault_me4_inventory, playbook: control_plane/powervault_me4.yml, credential: powervault_me4_credential, flag: "{{ powervault_support }}" }
  87. - { name: node_inventory_job, inventory: node_inventory, playbook: control_plane/collect_node_info.yml, credential: node_credential, flag: true }
  88. - { name: device_inventory_job, inventory: node_inventory, playbook: control_plane/collect_device_info.yml, credential: node_credential, flag: true }
  89. omnia_job_template_details:
  90. - { name: deploy_omnia_template, inventory: node_inventory, playbook: omnia.yml, credential: node_credential }
  91. scheduled_templates:
  92. - { name: NodeInventorySchedule, template: node_inventory_job, schedule_rule: "DTSTART:20210815T120000Z RRULE:FREQ=MINUTELY;INTERVAL=10" }
  93. - { name: DeviceInventorySchedule, template: device_inventory_job, schedule_rule: "DTSTART:20210815T060000Z RRULE:FREQ=DAILY;INTERVAL=1"}