rename luks_password in luks_passphrase

This commit is contained in:
Frank Adaemmer 2022-10-16 22:30:32 +02:00
parent 703dda21f7
commit afbb8cadc6
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ Create an Oracle Linux 9 ISO for automatic server installation.
|netmask |str | no | | IPv4 subnet mask. This will only be used when ansible_host is a IP address. |
|ssh_keys |list[str] | no | | List of ssh public keys that will be added to .ssh/authorized_keys |
|iso_path |str | yes | | Storage location for the created ISO |
|luks_password |str | yes | | Password for disk encryption. Consider password change after first boot. |
|luks_passphrase |str | yes | | Password for disk encryption. Consider password change after first boot. |
<!-- END Argument Specs -->
## Example Playbook
@ -25,7 +25,7 @@ Create an Oracle Linux 9 ISO for automatic server installation.
gather_facts: false
vars:
iso_path: "~/Downloads/OEL_{{ inventory_hostname }}.iso"
luks_password: Password1
luks_passphrase: Password1
ssh_keys:
- "ssh-rsa 8J+OtU5ldmVyIGdvbm5hIGdpdmUgeW91IHVw8J+Otg== UmljayDwn5W6@IPCfp7sg"
roles:

View file

@ -56,7 +56,7 @@ argument_specs:
description: "Storage location for the created ISO"
type: "str"
luks_password:
luks_passphrase:
required: true
description: "Password for disk encryption. Consider password change after first boot."
type: "str"

View file

@ -73,7 +73,7 @@ ignoredisk --only-use=sda
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part pv.116 --fstype="lvmpv" --ondisk=sda --grow --size=25600 --encrypted --cipher=aes-xts-plain64 --passphrase={{ luks_password }}
part pv.116 --fstype="lvmpv" --ondisk=sda --grow --size=25600 --encrypted --cipher=aes-xts-plain64 --passphrase={{ luks_passphrase }}
part /boot --fstype="xfs" --ondisk=sda --size=1024
volgroup ol --pesize=4096 pv.116
logvol /var/log --fstype="xfs" --size=2048 --name=var_log --vgname=ol