From 877673ff96a2275a6f590755448dfd06af17fb29 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 25 May 2021 18:33:08 +0200 Subject: [PATCH] chore: dont remove default.conf --- tasks/install.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index 28f0fe1..a58d57e 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -61,9 +61,11 @@ notify: __nginx_reload - name: Remove default.conf from conf.d - file: - path: /etc/nginx/conf.d/default.conf - state: absent + copy: + content: | + # Ansible managed. + # File not in use. + dest: /etc/nginx/conf.d/default.conf - name: Update header.conf template: