main.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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: mapping_file.yml
  17. mapping_file_name: mapping_file.csv
  18. mapping_file_fail: "Mapping file not found. Copy the mapping_file.csv to omnia/appliance/roles/provision/files"
  19. fail_hostname_duplicate: "Duplicate hostname exists. Please verify mapping file again."
  20. remove_header: awk 'NR > 1 { print }' {{ role_path }}/files/new_mapping_file.csv
  21. #Usage: check_prerequisite.yml
  22. iso_name: CentOS-7-x86_64-Minimal-2009.iso
  23. iso_fail: "Iso file not found. Download and copy the iso file to omnia/appliance/roles/provision/files"
  24. # Usage: provision_password.yml
  25. provision_encrypted_dest: ../files/
  26. username: cobbler
  27. # Usage: cobbler_image.yml
  28. docker_image_name: cobbler
  29. docker_image_tag: latest
  30. 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
  31. # Usage: main.yml
  32. message_skipped: "Installation Skipped: Cobbler instance is already running in your system"
  33. message_installed: "Installation Successful"
  34. # Usage: mount_iso.yml
  35. iso_path: iso