mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Fix log names on kojipkgs by making it a template
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
@@ -6,13 +6,21 @@
|
||||
- name: install apache config files for local apache
|
||||
copy: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=root mode=644
|
||||
with_items:
|
||||
- kojipkgs.conf
|
||||
- infrastructure.conf
|
||||
notify:
|
||||
- reload httpd
|
||||
tags:
|
||||
- kojipkgs
|
||||
|
||||
- name: install apache config templates for local apache
|
||||
template: src={{ item }} dest=/etc/httpd/conf.d/{{ item }} owner=root group=root mode=644
|
||||
with_items:
|
||||
- kojipkgs.conf
|
||||
notify:
|
||||
- reload httpd
|
||||
tags:
|
||||
- kojipkgs
|
||||
|
||||
- name: make sure httpd listens on port 8080
|
||||
lineinfile: dest=/etc/httpd/conf/httpd.conf state=present regexp="^Listen 80" line="Listen 8080"
|
||||
notify:
|
||||
|
||||
@@ -4,8 +4,8 @@ ServerLimit 512
|
||||
|
||||
RequestHeader unset Accept-Encoding early
|
||||
|
||||
CustomLog "| /usr/sbin/rotatelogs /var/log/httpd/kojipkgs01.fedoraproject.org-access.log.%Y-%m-%d 86400" combined
|
||||
ErrorLog "| /usr/sbin/rotatelogs /var/log/httpd/kojipkgs01.fedoraproject.org-error.log.%Y-%m-%d 86400"
|
||||
CustomLog "| /usr/sbin/rotatelogs /var/log/httpd/{{inventory_hostname}}-access.log.%Y-%m-%d 86400" combined
|
||||
ErrorLog "| /usr/sbin/rotatelogs /var/log/httpd/{{inventory_hostname}}-error.log.%Y-%m-%d 86400"
|
||||
|
||||
Alias /atomic /mnt/fedora_koji/koji/atomic
|
||||
|
||||
Reference in New Issue
Block a user