Setup inetutils-syslogd
syslogd_opts
: default to "--no-forward" as the debian package.
Typical example for use in containers:
syslogd_opts: "--mark=0 --no-klog"
syslogd_remote
: if defined, will forward logs to the specified hostname or ip
make sure to also remove "--no-forward" from syslogd_opts
.
n/a
- hosts: hosts
become: yes
roles:
- { role: ansible-role-inetutils-syslogd }
Copyright 2019 Julien Viard de Galbert
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
I want to credit the following sources that inspired me in writing this module:
- ansible-role-rsyslog by Robert de Bock.
- This message on debian-devel by Thorsten Glaser about "Guillem’s recommendation to switch to inetutils-syslogd".
Julien Viard de Galbert