role_podman/templates/rsyslog.conf.j2

10 lines
233 B
Django/Jinja

# {{ ansible_managed }}
# Don't log podman
:programname, contains, "podman" stop
# Don't log progams inside podman container
{% for container in podman_containers %}
:programname, contains, "{{ container.name }}" stop
{% endfor %}