From d3ab813d29190ce9e69e9a6a0014f0f95761f7d5 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Tue, 3 Oct 2023 12:41:27 +0200 Subject: [PATCH] [people] Allow README file in directory listing Currently the README is filtered out from directory listing in fedorapeople. This commit should allow it again. See https://pagure.io/fedora-infrastructure/issue/11553 for more info. Signed-off-by: Michal Konecny --- roles/people/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/people/tasks/main.yml b/roles/people/tasks/main.yml index e2c18600fa..68fb4f8f42 100644 --- a/roles/people/tasks/main.yml +++ b/roles/people/tasks/main.yml @@ -37,6 +37,13 @@ tags: - people +- name: Allow README in directory listing + ansible.builtin.replace: + path: /etc/httpd/conf.d/autoindex.conf + regexp: "(README^[*])" + replace: "" + + - name: Install haveged for entropy package: name=haveged state=present tags: