[Nginx] - Shouldn't ssl_src_path be remplaced by nginx_ssl_dir in ssl.yml task #972
Labels
No labels
🔥
administration
Akkoma
Android
Bare metal
bug
Communication
Community
Cryptpad
Discussion
Documentation
duplicate
enhancement
etherpad
Feature request
Feedback
finances
Fixed
forgejo
fun_project
Goal 2024
Goal 2025
help wanted
housekeeping
Howto
In progress
🤔️ Investigate
Invoice Ninja
ios
jitsi
lacre
Lacre Test
ldap
Lemmy
LibreTranslate
low prio
Lufi
macos
Mail
Merch
monitoring
movim
needs_refine
New Auth
Nextcloud
nice to have
on hold
proposal
PR ready
question
Ready
refined
Roundcube
searX
SPAM Issues
spam-protection
Staging Server
sysadmin
Themes
TOR
upstream issue
Website
windows
wontfix
xmpp
Yearly Report
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Disroot/Disroot-Project#972
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
On nginx role, shouldn't
ssl_src_path
be replaced bynginx_ssl_dir
inssl.yml
task? If so, then we should remove allssl_src_path
from all role, hosts_vars, documentation, etc.Also, I don't understand the use of
I especially don't understand coz for most (all?) CT, I see that
ssl_src_path
andnginx_ssl_dir
is the same path...I need to look into it. The thing is that although the vars could apear to be the same path, they are pointing to different hosts. However I need to check this properly as it used to be used to copy from ansible container. But yeah, something isn't right here. Since I need to prepare letsencrypt update this week (in next three days in fact) I will look into it as well.
Ok. Took me a moment to realize what this task actually does lol. Those tasks were created for situation, were you do not use self signed cert or letsencrypt, but you bought a certificate elsewhere and you would like to distribute those. The reason the path seem the same is because
src
is located on ansible server anddest
is on the remote host you play the role on. So although they look similar they dont have to be and this is the reason for two different vars.We never had a use case for it from the moment letsencrypt has become a thing. Now the proposal for solution would be:
I would go for n°2. And update readme too.
PR done with some suggestion here
I did add some docs to readme file but it's not complete. I do want to write a more detailed readme covering everything around nginx role which is pretty big and very little documented. It's a start, and something we should keep on working when we have some time (matter of doing it little by little for all roles but systematically).