From cc4c8a81c42d8f25020a8f90331865c61d5c0a48 Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Tue, 25 Jan 2022 10:30:23 +0100 Subject: [PATCH] Disable default nginx site --- tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 900f0fa..a25aef4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -27,6 +27,12 @@ regexp: ^ZM_PATH_ZMS line: ZM_PATH_ZMS=/cgi-bin/nph-zms +- name: Disable no-ssl default nginx site. + ansible.builtin.file: + path: /etc/nginx/conf.d/no-ssl.default.conf + state: absent + notify: reload nginx + - name: Copy zoneminder nginx config. ansible.builtin.copy: src: zoneminder.conf