1
0
Fork 0
forked from infra/ansible
ansible/roles/robosignatory/files/sigul-add-key
Kevin Fenzi c764d1ea86 autosign: adjust playbooks for prod
We need to setup things in prod slightly differently, using keyctl.
Copy in the service and scripts.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-01-30 09:33:45 -08:00

5 lines
261 B
Bash

#!/bin/bash -e
# Courtesy of puiterwijk
passphrase=$(systemd-ask-password "Please enter passphrase for 'autosign' key: ")
keyctl add user "sigul:autosign" "${passphrase}" @s
exec /usr/bin/fedora-messaging --conf /etc/fedora-messaging/robosignatory.toml consume