rename luks_password in luks_passphrase
This commit is contained in:
parent
703dda21f7
commit
afbb8cadc6
|
|
@ -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. |
|
|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 |
|
|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 |
|
|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 -->
|
<!-- END Argument Specs -->
|
||||||
|
|
||||||
## Example Playbook
|
## Example Playbook
|
||||||
|
|
@ -25,7 +25,7 @@ Create an Oracle Linux 9 ISO for automatic server installation.
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars:
|
vars:
|
||||||
iso_path: "~/Downloads/OEL_{{ inventory_hostname }}.iso"
|
iso_path: "~/Downloads/OEL_{{ inventory_hostname }}.iso"
|
||||||
luks_password: Password1
|
luks_passphrase: Password1
|
||||||
ssh_keys:
|
ssh_keys:
|
||||||
- "ssh-rsa 8J+OtU5ldmVyIGdvbm5hIGdpdmUgeW91IHVw8J+Otg== UmljayDwn5W6@IPCfp7sg"
|
- "ssh-rsa 8J+OtU5ldmVyIGdvbm5hIGdpdmUgeW91IHVw8J+Otg== UmljayDwn5W6@IPCfp7sg"
|
||||||
roles:
|
roles:
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ argument_specs:
|
||||||
description: "Storage location for the created ISO"
|
description: "Storage location for the created ISO"
|
||||||
type: "str"
|
type: "str"
|
||||||
|
|
||||||
luks_password:
|
luks_passphrase:
|
||||||
required: true
|
required: true
|
||||||
description: "Password for disk encryption. Consider password change after first boot."
|
description: "Password for disk encryption. Consider password change after first boot."
|
||||||
type: "str"
|
type: "str"
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ ignoredisk --only-use=sda
|
||||||
# Partition clearing information
|
# Partition clearing information
|
||||||
clearpart --all --initlabel
|
clearpart --all --initlabel
|
||||||
# Disk partitioning information
|
# 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
|
part /boot --fstype="xfs" --ondisk=sda --size=1024
|
||||||
volgroup ol --pesize=4096 pv.116
|
volgroup ol --pesize=4096 pv.116
|
||||||
logvol /var/log --fstype="xfs" --size=2048 --name=var_log --vgname=ol
|
logvol /var/log --fstype="xfs" --size=2048 --name=var_log --vgname=ol
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue