mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 12:03:38 +08:00
22 lines
654 B
YAML
22 lines
654 B
YAML
---
|
|
# Email alias set-up
|
|
|
|
- name: Install the script generating the <pkg>-owner email alias
|
|
copy: src={{ item.file }}
|
|
dest={{ item.dest }}
|
|
owner=root group=root mode=0755
|
|
with_items:
|
|
- { file: owner-email.py, dest: /usr/local/bin/owner-email.py }
|
|
- { file: package-owner-aliases.sh, dest: /etc/cron.hourly/package-owner-aliases.sh }
|
|
tags:
|
|
- install
|
|
|
|
#
|
|
# Since this host has mail aliases, it's a mail hub. Compress logs since there will be a ton of them
|
|
#
|
|
|
|
- name: install modified logrotate syslog script to compress maillog on mailhub
|
|
copy: src=syslog dest=/etc/logrotate.d/syslog owner=root group=root
|
|
tags:
|
|
- install
|