Skip to content
Snippets Groups Projects
Commit a584e9ae authored by Thomas Schneider's avatar Thomas Schneider
Browse files

caddy: Fix disable inactive site/config logic

This was copied from the webserver role, however here we don’t have a `.conf`
file suffix.
parent 34eeedb5
No related branches found
No related tags found
1 merge request!52Draft: Add role for Caddy web server
...@@ -116,8 +116,6 @@ ...@@ -116,8 +116,6 @@
{{ current_active_sites.files {{ current_active_sites.files
| map(attribute='path') | map(attribute='path')
| map('basename') | map('basename')
| map('splitext')
| map('first')
| difference(wanted_active_sites) | difference(wanted_active_sites)
}} }}
loop_control: loop_control:
...@@ -149,8 +147,6 @@ ...@@ -149,8 +147,6 @@
{{ current_active_config.files {{ current_active_config.files
| map(attribute='path') | map(attribute='path')
| map('basename') | map('basename')
| map('splitext')
| map('first')
| difference(wanted_active_config) | difference(wanted_active_config)
}} }}
loop_control: loop_control:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment