- Set the root password with
passwd
- Use vim to edit the file /etc/ssh/sshd_config by changing the ChallengeResponseAuthentication setting to yes.
- Restart the ssh service using systemctl restart sshd.
- Create a keyfile on your local host containing the password for your LUKS root volume via
echo -n "your_password" > keyfile
.
The following will try to run on all the hosts in inventory.yaml
ansible-playbook -i inventory.yaml site.yaml
-u root
One can also specify a comma separated list of hosts, note the comma
ansible-playbook -i 192.168.1.95, site.yaml
-u root
At bootloader screen, add cow_spacesize=5G
so the root filesystem is 5G