From cbd4c82dca137e6b13b2fb07c902a21353a0aa41 Mon Sep 17 00:00:00 2001
From: Karl Grube <karl@hudlergrube.com>
Date: Tue, 5 Nov 2024 16:15:57 +0100
Subject: [PATCH] remove the localhost.conf from nginx for sure

---
 tasks/config.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tasks/config.yml b/tasks/config.yml
index cc64516..dcf6f79 100644
--- a/tasks/config.yml
+++ b/tasks/config.yml
@@ -13,6 +13,11 @@
     dest: /etc/nginx/sites-available/jitsi
   notify: reload nginx
   tags: site,conf
+- name: make sure that localhost.conf is missing
+  file:
+    state: absent
+    path: /etc/nginx/sites-enabled/localhost.conf
+  notify: reload nginx
 - name: link site
   file:
     state: link
-- 
GitLab