add remove userdir.conf

This commit is contained in:
Gilles Mouchet 2024-06-23 08:03:55 +02:00
parent e65d4e049c
commit c28df97cc1

View File

@ -33,8 +33,11 @@
- name: delete welcome.conf - name: delete welcome.conf
file: file:
path: /etc/httpd/conf.d/welcome.conf path: "{{ item }}"
state: absent 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.) - name: modify config to not navigate on os from browser (You don't have permission to access / on this server.)
lineinfile: lineinfile: