This Ansible configuration sets up a Raspberry PI 2 with an encrypted root partition.
Playbooks which run on you workstation require the variable device to be set
to the SD cards device path (e.g. /dev/sdX).
Note: The playbooks are not replay-safe.
- Insert the SD card into your workstation
- Identify the device (e.g.
/dev/sdX) - Run the playbook
format-sdcard.ymlto format and partition the SD card. - Run the playbook
install-image.ymlto install Arch Linux on the SD card. - Run the playbook
config-image.ymlto adjust some basic settings. - Put the SD card into the Raspberry PI and boot it.
- Run the playbook
prepare-encryption.yml. - Insert the SD card into your workstation and run the playbook
encrypt-root.yml.