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: