ansible: domotica webserver file is identical for all
authorKristof Provost <kp@FreeBSD.org>
Tue, 25 Mar 2025 14:36:37 +0000 (15:36 +0100)
committerKristof Provost <kp@FreeBSD.org>
Tue, 25 Mar 2025 14:36:37 +0000 (15:36 +0100)
So don't have a per-host file.

ansible/roles/domotica/tasks/domotica.yaml

index 159a9bc..9019a66 100644 (file)
@@ -28,7 +28,7 @@
   become: true
 - name: install domotica apache config file
   template:
-    src: "{{ hostname }}.domotica.conf"
+    src: "domotica.conf"
     dest: "/usr/local/etc/apache24/Includes/domotica.conf"
     owner: root
     group: wheel