Debian Codegraph @

ansible_collections/dellemc/openmanage/roles/idrac_os_deployment/vars/main.yml

raw symbols SCIP
1 ---
2 # vars file for idrac_os_deployment
3 idrac_os_deployment_delegate: "{{ lookup('ansible.builtin.env', 'RUNON', default='localhost') }}"
4 # OS Supported values Validation
5 idrac_os_deployment_supported_os:
6 RHEL: ["8", "9", "10"]
7 ESXI: ["8"]
8
9 # Validation Error messages
10 idrac_os_deployment_err_msg_os_required: "The parameters `os_name` and `os_version` is required."
11 idrac_os_deployment_err_msg_unsupported_os: "The combination of OS name %s and version %s is not supported."
12 idrac_os_deployment_err_msg_destination_required: "Input parameter `destination` is required."
13 idrac_os_deployment_err_msg_root_password: "Please provide the root password for %s."
14 idrac_os_deployment_err_msg_custom_iso_local: "Custom iso as a source with local protocol is not supported."
15 idrac_os_deployment_err_msg_hostname_required: "Source hostname is required when custom iso is true or when protocol is http/https."
16 idrac_os_deployment_err_msg_template: "Template with the name %s_%s.j2 doesn't exists in templates."
17 idrac_os_deployment_err_msg_kickstat_file: "Kickstart file does not exist or is not readable %s."
18 idrac_os_deployment_err_msg_iso_file: "Download or Copy of ISO failed from the location %s,
19 Please check if iso file exists or credentials are correct and retry."
20 idrac_os_deployment_err_msg_ks_file: "Download or Copy of Kickstart failed from the location %s,
21 Please check if iso file exists or credentials are correct and retry."
22 idrac_os_deployment_err_msg_destination_iso_name: "In the destination `iso_name` cannot be empty,
23 please provide the value or remove the var to auto name the custom iso file."
24 idrac_os_deployment_err_msg_ks_file_ext: "The kickstart file extension should be `.cfg`and cannot be `%s`."
25 idrac_os_deployment_err_msg_mountpoint_folder: "The folder specfied `destination.mountpoint` : %s doesn't exists."
26
27 # Success messages
28 idrac_os_deployment_out: ""
29 idrac_os_deployment_success_message_os_deployment: "Successfully deployed the Operating System with the given custom iso."
30 idrac_os_deployment_success_message_os_deployment_ks: "Successfully deployed the Operating System with the given kickstart file."
31 idrac_os_deployment_success_message_os_deployment_iso: "Successfully deployed the Operating System."
32
33 # download wget command
34 idrac_os_deployment_wget_cmd: "wget %s --directory-prefix=%s"
35 idrac_os_deployment_wget_cmd_vc: " --no-check-certificate"
36 idrac_os_deployment_wget_cmd_creds: " --user=%s --password=%s"
37
38 # Mode Settings
39 idrac_os_deployment_src_copy_mode: "0744"
40 idrac_os_deployment_copy_mode: "0744"
41 idrac_os_deployment_iso_extract_dir_mode: "0755"
42 idrac_os_deployment_dest_mode: "0755"
43 idrac_os_deployment_ks_gen_mode: "0744"
44
45
46 # temp directory settings
47 idrac_os_deployment_extract_dir: extract
48 idrac_os_deployment_temp_file_prefix: "omam_osd"
49
50 # Attributes required to compile iso
51 idrac_os_deployment_kickstart_file: ""
52 idrac_os_deployment_iso_file: ""
53 idrac_os_deployment_iso_extract_dir: ""
54 idrac_os_deployment_custom_iso_filename: "{{ hostname }}_{{ source.iso_name }}"
55 idrac_os_deployment_custom_iso_file: ""
56 idrac_os_deployment_hybrid_cmd: isohybrid --uefi %s
57 idrac_os_deployment_checksum_cmd: implantisomd5 %s
58 idrac_os_deployment_xorriso_cmd: "xorriso -osirrox on -indev %s -extract / %s"
59
60 # Attributes required to compile esxi iso
61 idrac_os_deployment_esxi_ks_filename: "KS.CFG"
62 idrac_os_deployment_esxi_ks_dest_prefix: "cdrom:/"
63 idrac_os_deployment_esxi_ks_location: "{{ idrac_os_deployment_esxi_ks_dest_prefix }}{{ idrac_os_deployment_esxi_ks_filename }}"
64 idrac_os_deployment_esxi_mkiso_cmd:
65 "mkisofs -relaxed-filenames -J -R -o %s -b ISOLINUX.BIN -c BOOT.CAT
66 -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot
67 -eltorito-platform efi -b EFIBOOT.IMG -no-emul-boot %s"
68
69 # Attributes required to compile rhel iso
70 idrac_os_deployment_rhel_ks_filename: "ks.cfg"
71 idrac_os_deployment_rhel_ks_dest_prefix: "cdrom:/"
72 idrac_os_deployment_rhel_ks_location: "{{ idrac_os_deployment_rhel_ks_dest_prefix }}{{ idrac_os_deployment_rhel_ks_filename }}"
73 idrac_os_deployment_rhel_mkiso_cmd:
74 "mkisofs -o %s -b isolinux/isolinux.bin -J -R -l -c isolinux/boot.cat
75 -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img
76 -no-emul-boot -graft-points -joliet-long -V %s ."
77
78 # Extra params
79 idrac_os_deployment_set_no_log: false
80 idrac_os_deployment_validate_kickstart_file_ext: true
81 idrac_os_deployment_copied_to_destination: false
82 idrac_os_deployment_virtual_media_attached: false
83 idrac_os_deployment_vm_protocol: "{{ source.protocol }}"
84 idrac_os_deployment_vm_hostname: "{{ source.hostname }}"
85 idrac_os_deployment_vm_iso_path: "{{ source.iso_path }}"
86 idrac_os_deployment_vm_iso_name: "{{ source.iso_name }}"
87 idrac_os_deployment_vm_username: "{{ source.username }}"
88 idrac_os_deployment_vm_password: "{{ source.password }}"
89 idrac_os_deployment_vm_proto_map:
90 http: "http://%s%s/%s"
91 https: "https://%s%s/%s"
92 cifs: "//%s%s/%s"
93 nfs: "%s:%s/%s"