63 lines
2.2 KiB
YAML
63 lines
2.2 KiB
YAML
---
|
|
argument_specs:
|
|
main:
|
|
short_description: Create an ISO for server installation
|
|
description: Create an Oracle Linux 9 ISO for automatic server installation.
|
|
options:
|
|
# line 2 of defaults/main.yml
|
|
src_iso_download_url:
|
|
default: "https://yum.oracle.com/ISOS/OracleLinux/OL9/u0/x86_64/OracleLinux-R9-U0-x86_64-boot-uek.iso"
|
|
description: "Download link to source installation medium"
|
|
type: "str"
|
|
|
|
# line 3 of defaults/main.yml
|
|
src_iso_path:
|
|
default: "{{ role_path }}/files/OracleLinux-R9-U0-x86_64-boot-uek.iso"
|
|
description: "Storage location of downloaded source installation medium"
|
|
type: "str"
|
|
|
|
# line 4 of defaults/main.yml
|
|
src_iso_checksum:
|
|
default: "sha256:a782e8c78a629ab1c19fcb32e76d3b81c7ef1b04060a0465253c103686339f3a"
|
|
description: "Checksum of downloaded source installation medium"
|
|
type: "str"
|
|
|
|
# line 5 of defaults/main.yml
|
|
src_iso_label:
|
|
default: "OL-9-0-0-BaseOS-x86_64"
|
|
description: "Volume ID of installation medium. Could be displayed by `xorriso -indev {{ role_path }}/files/OracleLinux-R9-U0-x86_64-boot-uek.iso -toc`"
|
|
type: "str"
|
|
|
|
# line 6 of defaults/main.yml
|
|
reboot_after_installation:
|
|
default: false
|
|
description: "Automatic reboot after installation."
|
|
type: "bool"
|
|
|
|
gateway:
|
|
description: "IPv4 default gateway address. This will only be used when ansible_host is a IP address."
|
|
type: "str"
|
|
|
|
nameserver:
|
|
description: "IPv4 nameserver address. This will only be used when ansible_host is a IP address."
|
|
type: "str"
|
|
|
|
netmask:
|
|
description: "IPv4 subnet mask. This will only be used when ansible_host is a IP address."
|
|
type: "str"
|
|
|
|
ssh_keys:
|
|
description: "List of ssh public keys that will be added to .ssh/authorized_keys"
|
|
type: 'list'
|
|
elements: 'str'
|
|
|
|
iso_path:
|
|
required: true
|
|
description: "Storage location for the created ISO"
|
|
type: "str"
|
|
|
|
luks_passphrase:
|
|
required: true
|
|
description: "Password for disk encryption. Consider password change after first boot."
|
|
type: "str"
|