You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| .LOCKED | 3 years ago | |
| README.md | 3 years ago | |
| deployment.json | 3 years ago | |
| deployment.tar.gz.enc.SHA256 | 3 years ago | |
README.md
hcloud encrypted debian
Description
This repository contains ansible roles and a packer definition to build fully encrypted debian snapshots in hetzner cloud which can then be used as base images for terraform deployments.
Usage
Install ansible-deployment
pip install ansible-deployment
Further documentation for ansible-deployment: https://torarg.github.io/ansible-deployment/
Clone deployment:
git clone https://gitea.k3s.swla.eu/gitea-admin/hcloud-encrypted-debian-packer.git
Write deployment.key to deployment directory:
echo "SUPER_SECRET_KEY" > hcloud-encrypted-debian-packer/deployment.key
Change into deployment directory:
cd hcloud-encrypted-debian-packer
Pull encrypted deployment data blob:
ansible-deployment pull
Unlock deployment:
ansible-deployment unlock
Build snapshot with packer:
packer build hcloud-encrypted-debian.pkr.hcl