add dooris role for setup of dooris interaction on the node itself #129
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
renovate
waiting on upstream
wontfix
No milestone
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
CCCHH/ansible-infra!129
Loading…
Reference in a new issue
No description provided.
Delete branch "new-dooris-role"
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?
You can view your changes at https://staging.infra-docs.hamburg.ccc.de/pr129/
2abbb717882be6c1e9432be6c1e943aec9ba7c12WIP: add dooris role for setup of dooris interaction on the node itselfto add dooris role for setup of dooris interaction on the node itselfThis looks good!
Just see the comments and two things:
forgejo_runnerroles README as well as thecertbotroles README for reference.docker_composerole as a dependency, which makes sense for having the directory be there of course. Thinking about this, we might want to pull in the entire docker config into the role (like we do for the Nextcloud role) or just add a comment to the README that the config must be provided externally. Think just clearing that up a bit like this avoids confusion in the future. In any case we can then also remove the host from the main docker compose group I suppose.@ -0,0 +2,4 @@main:options:dooris_static_api_token:Please add another underscore between role name and variable name to match the convention used in the other roles (so
dooris__static_api_token).@ -0,0 +7,4 @@required: truetype: strdooris_url:Same here (so
dooris__url).aec9ba7c125efa02c79d5efa02c79daf1b1906b1af1b1906b1cf7b7ebbed@june I have included the requested changes and inlined the dependency configuration into the new
doorisroleThanks for the changes, looks good! Just two notes.
@ -0,0 +9,4 @@certbot__new_cert_commands:- "systemctl restart nginx.service"certbot__certs:- commonName: "dooris.ccchh.net"This should probably use
dooris__hostname.good catch. fixed now
@ -0,0 +13,4 @@challengeType: "dns-01-acme-dns"dns_01_acme_dns:subdomain: "37caae1f-b77f-4eb1-aa71-dc3f7ed24360"apiUser: "fd42b696-a394-4e2a-8fcc-d44c9fac5d4e"Having those be hardcoded with all else being configurable is a bit awkward, so I think making these variables as well make sense.
is configurable and configured via host-var now
cf7b7ebbedef3b04d49def3b04d49d69ed60413a69ed60413ade8daaf56cNice, thanks!!