diff --git a/roles/mirrormanager/crawler/files/mirrormanager.conf b/roles/mirrormanager/crawler/files/mirrormanager.conf deleted file mode 100644 index b4c92580cf..0000000000 --- a/roles/mirrormanager/crawler/files/mirrormanager.conf +++ /dev/null @@ -1,13 +0,0 @@ -Alias /mirrormanager/crawler /var/log/mirrormanager/crawler - - - - # Apache 2.4 - Require all granted - - - # Apache 2.2 - Order deny,allow - Allow from all - - diff --git a/roles/mirrormanager/crawler/tasks/main.yml b/roles/mirrormanager/crawler/tasks/main.yml index ed85c2f40f..4642393c20 100644 --- a/roles/mirrormanager/crawler/tasks/main.yml +++ b/roles/mirrormanager/crawler/tasks/main.yml @@ -9,7 +9,6 @@ - name: install needed packages yum: pkg={{ item }} state=present with_items: - - httpd - mirrormanager2-crawler - python-psycopg2 - fedmsg @@ -36,27 +35,8 @@ - config when: env != 'staging' -- name: install configuration file - template: src={{ roles }}/mirrormanager/crawler/files/mirrormanager.conf - dest=/etc/httpd/conf.d/mirrormanager.conf - owner=apache group=apache mode=0600 - notify: - - restart httpd - tags: - - config - -- name: apply selinux type to crawler log files - file: > - dest=/var/log/mirrormanager/crawler - setype=httpd_sys_content_t - state=directory - recurse=yes - - name: install the script to get the highest mirror id copy: src=mm2_get-highest-active-host-id dest=/usr/local/bin/mm2_get-highest-active-host-id mode=0755 - name: install the crawler distribute script copy: src=run_crawler.sh dest=/usr/local/bin/run_crawler.sh mode=0755 - -- name: startup apache - service: name=httpd enabled=yes state=started