From cab31f142cfff46fa8f6836655175bc40879a442 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Thu, 30 Jan 2025 15:12:35 +0100 Subject: [PATCH] copr-be: another attempt to create the file --- roles/copr/backend/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/tasks/main.yml b/roles/copr/backend/tasks/main.yml index 98cdfbe1d1..9dafe5d4dd 100644 --- a/roles/copr/backend/tasks/main.yml +++ b/roles/copr/backend/tasks/main.yml @@ -102,7 +102,7 @@ - lighttpd_config - name: Create a txt file with Pulp redirects - file: dest=/var/lib/copr/pulp-redirect.txt owner=copr group=copr mode=644 + file: state=touch dest=/var/lib/copr/pulp-redirect.txt owner=copr group=copr mode=644 - name: Add custom lighttpd lua scripts ansible.builtin.template: src="lighttpd/{{ item }}.j2" dest="/etc/lighttpd/{{ item }}" owner=root group=root mode=644