WIP: add roles for siguldry server and bridge #3292
No reviewers
Labels
No labels
ai-review-please
freeze-break-request
post-freeze
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/ansible!3292
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jcline/ansible:siguldry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
These roles deploy the Siguldry server and bridge.
There's a few TODOs, and one step that isn't covered at all is the
deployment of the TLS private keys. These need to be encrypted with
systemd-creds, which should be doable via ansible, but the pesign bridge
isn't doing it so I've left it out for now.
Related: infra/tickets#13199
da381cebd98523b5d9f2draft: add roles for siguldry server and bridgeto WIP: add roles for siguldry server and bridge8523b5d9f27749af7760So, this mostly works with the caveat that it needs EPEL 10.2 (so either CentOS stream or the not-yet-released EL10.2). In theory we could install the siguldry and kryoptic RPMs on 10.1 and it would probably be fine.
The outstanding question for me is how do we want to handle the private keys for the PKI. One option would be to do something like:
and then deal with signing the CSR wherever the CA lives rather than copying private keys around. I didn't see anything in the pesign_bridge role to use as inspiration, so I assume it was handled by hand?
7749af7760ebaf8210f3Hopefully @james will get cycles to work on this soon... or failing that I can try. :)
I think it looks pretty reasonable... we should also adjust (for staging only at first) the manual/ playbooks for the vault and the normal playbook for the bridge. Or we could just make new playbooks for them. We don't have any installed in staging, so we should make new sign-bridge01.stg and sign-vault01.stg vm's there.
I think we should just follow the same pattern we used for the pesign bridge. That is that a admin will add the creds on any reboots. Currently the bridge just has the cert .key on disk and has no passphrase, but we can/should just have admins install the creds on reboots.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.