add server support for syslogd

This commit is contained in:
Timo Makinen 2019-07-19 17:16:59 +03:00
parent 9b3bfe9bc8
commit 7088bc9b14
3 changed files with 159 additions and 0 deletions

View file

@ -25,3 +25,7 @@
path: /etc/newsyslog.conf
regexp: "^/var/log/all.log.*"
line: "/var/log/all.log root:{{ ansible_wheel }} 640 7 * $D0 Z"
- name: include server config
include_tasks: server.yml
when: inventory_hostname == "log01.home.foo.sh"