From 022ef5ddb6cc8919a462024ae515a2a1c4503e98 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Thu, 30 Jan 2025 15:04:32 +0100 Subject: [PATCH] copr-be: state=file doesn't 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 b487a436f3..98cdfbe1d1 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: state=file dest=/var/lib/copr/pulp-redirect.txt owner=copr group=copr mode=644 + file: 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