The crawler logs are now on the frontend system

and therefore apache and its configuration can be removed from the
crawlers.
This commit is contained in:
Adrian Reber 2015-06-22 20:10:55 +00:00
parent 48f1f8c31b
commit 7ef98b514d
2 changed files with 0 additions and 33 deletions

View file

@ -1,13 +0,0 @@
Alias /mirrormanager/crawler /var/log/mirrormanager/crawler
<Directory /var/log/mirrormanager/crawler>
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order deny,allow
Allow from all
</IfModule>
</Directory>

View file

@ -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