2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-25 07:58:24 +00:00

13 lines
410 B
YAML
Raw Normal View History

2017-08-29 12:21:06 +05:30
---
- name: Install logwatch
yum: name=logwatch state=present
when: ansible_distribution == 'CentOS'
- name: Install logwatch on Ubuntu or Debian
apt: name=logwatch state=present
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
2017-08-29 12:21:06 +05:30
- name: Copy logwatch config
template: src=logwatch.conf.j2 dest=/etc/logwatch/conf/logwatch.conf backup=yes
2018-02-05 15:07:14 +05:30
when: admin_emails is defined
...