Commit c8b8f97
Convert Podman Quadlet deployment from rootful to rootless
Converts Foreman deployment to rootless Podman containers with dedicated
service user and proper namespace isolation.
Key changes:
- Auto-allocate matching UID/GID for foreman service user
- Map container volumes to proper UIDs (PostgreSQL:26, Redis:1001, Pulp:700)
- Move certificates from /root to /var/lib/foreman with correct ownership
- Add migration playbook for converting existing rootful deployments
- Move Quadlet files to user scope (~/.config/containers/systemd)
- Enable loginctl linger and configure unprivileged ports
New components:
- rootless_user role: Service user creation with auto-allocation
- migrate-to-rootless playbook: Automated rootful-to-rootless migration
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 60b55aa commit c8b8f97
File tree
33 files changed
+1750
-880
lines changed- docs
- src
- playbooks
- deploy
- migrate-to-rootless
- roles
- candlepin
- defaults
- handlers
- tasks
- certificates/tasks
- check_subuid_subgid/tasks
- checks/tasks
- foreman_proxy
- handlers
- tasks
- foreman
- handlers
- tasks
- postgresql
- defaults
- handlers
- tasks
- pre_install/tasks
- pulp
- defaults
- handlers
- tasks
- redis
- defaults
- tasks
- rootless_user
- defaults
- tasks
- systemd_target/tasks
- vars
33 files changed
+1750
-880
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| |||
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| 106 | + | |
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
109 | | - | |
110 | | - | |
111 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
| |||
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
141 | | - | |
| 147 | + | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
| 153 | + | |
| 154 | + | |
147 | 155 | | |
148 | 156 | | |
149 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments