From e2057832e466724bee8a64e881ee7506883c3346 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 15 Jun 2015 22:20:45 +0000 Subject: [PATCH] We need to put the autoindex.conf in one level higher. --- roles/download/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/download/tasks/main.yml b/roles/download/tasks/main.yml index d86ce03d19..179453df92 100644 --- a/roles/download/tasks/main.yml +++ b/roles/download/tasks/main.yml @@ -69,6 +69,15 @@ - name: Configure httpd dl main conf copy: src=httpd/dl.fedoraproject.org.conf dest=/etc/httpd/conf.d/dl.fedoraproject.org.conf + notify: + - restart httpd + +- name: Make sure apache autoindex.conf is replaced with ours + copy: src=httpd/dl.fedoraproject.org/autoindex.conf dest=/etc/httpd/conf.d/autoindex.conf + notify: + - restart httpd - name: Configure httpd dl sub conf copy: src=httpd/dl.fedoraproject.org/ dest=/etc/httpd/conf.d/dl.fedoraproject.org/ + notify: + - restart httpd