main.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Copyright 2020 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 provision
  16. # Usage: provision_password.yml
  17. provision_encrypted_dest: ../files/
  18. min_length: 8
  19. no_of_retry: 3
  20. retry_delay: 0.001
  21. username: cobbler
  22. prompt_password: "Enter cobbler password.( Min. Length of Password should be {{ min_length| int }}."
  23. confirm_password: "Confirm cobbler Password"
  24. msg_incorrect_format: "Failed. Incorrect format."
  25. msg_failed_password_confirm: "Failed. Passwords did not match"
  26. success_msg_pwd_format: "admin_password validated"
  27. fail_msg_pwd_format: "admin_password validation failed"
  28. success_msg_pwd_confirm: "admin_password confirmed"
  29. fail_msg_pwd_confirm: "admin_password confirmation failed"
  30. success_msg_format: "random_phrase validated"
  31. fail_msg_format: "random_phrase validation failed"
  32. # Usage: cobbler_image.yml
  33. docker_image_name: cobbler
  34. docker_image_tag: latest
  35. cobbler_run_command: docker run -itd --privileged --net=host --restart=always -v cobbler_www:/var/www/cobbler:Z -v cobbler_backup:/var/lib/cobbler/backup:Z -v /mnt/iso:/mnt:Z -p 69:69/udp -p 81:80 -p 443:443 -p 25151:25151 --name cobbler cobbler:latest /sbin/init
  36. # Usage: main.yml
  37. message_skipped: "Installation Skipped: Cobbler instance is already running on your system"
  38. message_installed: "Installation Successful"
  39. # Usage: os_provsion.yml
  40. iso_image: CentOS-8.2.2004-x86_64-minimal.iso
  41. iso_path: iso
  42. # Usage: configure_nic.yml
  43. eno: eno1