main.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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: check_prerequisite.yml
  17. iso_name: CentOS-7-x86_64-Minimal-2009.iso
  18. iso_fail: "Iso file absent: Download and copy the iso file in omnia/appliance/roles/provision/files"
  19. # Usage: provision_password.yml
  20. provision_encrypted_dest: ../files/
  21. username: cobbler
  22. # Usage: cobbler_image.yml
  23. docker_image_name: cobbler
  24. docker_image_tag: latest
  25. cobbler_run_command: docker run -itd --privileged --net=host --restart=always -v {{ mount_path }}:/root/omnia -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
  26. # Usage: main.yml
  27. message_skipped: "Installation Skipped: Cobbler instance is already running on your system"
  28. message_installed: "Installation Successful"
  29. # Usage: mount_iso.yml
  30. iso_path: iso