feature/podman-setup #20

Merged
mixel merged 8 commits from feature/podman-setup into main 2026-06-01 23:57:25 +02:00
Owner
No description provided.
Replace single ssh_public_key (string) with ssh_public_keys (list) across
all OpenTofu modules so multiple machines can be provisioned from day one.
OpenTofu now writes the keys to ansible/group_vars/all/ssh_keys.yml on
every apply, removing the vault dependency for a non-secret value.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ensures all managed hosts enforce key-only SSH access via sshd_config.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rootless Podman fails inside unprivileged Proxmox LXC because subuid
ranges starting at 100000 are outside the container's UID space (0-65535).
Rootful Podman avoids user namespaces entirely; the LXC itself provides
isolation (LXC root maps to ~UID 100000 on the Proxmox host).

Removes service user, subuid config, lingering, and user-scoped systemd.
Adds podman-quadlet role for deploying system-scope quadlet services.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Deploys Pi-hole v6 via systemd quadlet on Podman hosts tagged 'pihole'.
Admin password injected via Podman secret (FTLCONF_webserver_api_password).
State backed up to NFS via state-backup role.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- module.pihole -> module.LXC.pihole (ha.tf, inventory.tf)
- Remove ssh_pwauth: false from cloud-init (now managed by Ansible common)
- Re-encrypt .env after renaming ssh_public_key -> ssh_public_keys

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- .env.example: ssh_public_key → ssh_public_keys (match renamed var)
- pihole handlers: remove rootless leftover, fix to rootful scope: system
- podman-host handler: rename restart → reload (it's a daemon-reload, not a restart)
- site.yml: remove redundant common role from Podman play (already runs in first play)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mixel merged commit db62b84a9c into main 2026-06-01 23:57:25 +02:00
mixel deleted branch feature/podman-setup 2026-06-01 23:57:25 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mixel/infrastructure!20
No description provided.