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:
parent
48f1f8c31b
commit
7ef98b514d
2 changed files with 0 additions and 33 deletions
|
@ -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>
|
|
|
@ -9,7 +9,6 @@
|
||||||
- name: install needed packages
|
- name: install needed packages
|
||||||
yum: pkg={{ item }} state=present
|
yum: pkg={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- httpd
|
|
||||||
- mirrormanager2-crawler
|
- mirrormanager2-crawler
|
||||||
- python-psycopg2
|
- python-psycopg2
|
||||||
- fedmsg
|
- fedmsg
|
||||||
|
@ -36,27 +35,8 @@
|
||||||
- config
|
- config
|
||||||
when: env != 'staging'
|
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
|
- 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
|
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
|
- name: install the crawler distribute script
|
||||||
copy: src=run_crawler.sh dest=/usr/local/bin/run_crawler.sh mode=0755
|
copy: src=run_crawler.sh dest=/usr/local/bin/run_crawler.sh mode=0755
|
||||||
|
|
||||||
- name: startup apache
|
|
||||||
service: name=httpd enabled=yes state=started
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue