From c28df97cc10c8a8210b67e4bb89b795d9a3078b8 Mon Sep 17 00:00:00 2001 From: Gilles Mouchet Date: Sun, 23 Jun 2024 08:03:55 +0200 Subject: [PATCH] add remove userdir.conf --- inst-apache.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inst-apache.yml b/inst-apache.yml index 4b23e4a..78d4667 100644 --- a/inst-apache.yml +++ b/inst-apache.yml @@ -33,8 +33,11 @@ - name: delete welcome.conf file: - path: /etc/httpd/conf.d/welcome.conf + path: "{{ item }}" state: absent + with_items: + - /etc/httpd/conf.d/welcome.conf + - /etc/httpd/conf.d/userdir.conf - name: modify config to not navigate on os from browser (You don't have permission to access / on this server.) lineinfile: