diff --git a/extensions/eda/plugins/event_source/journald.py b/extensions/eda/plugins/event_source/journald.py index c02e3ddd..7bd5c0af 100644 --- a/extensions/eda/plugins/event_source/journald.py +++ b/extensions/eda/plugins/event_source/journald.py @@ -3,9 +3,11 @@ An ansible-events event source plugin that tails systemd journald logs. Arguments: +--------- match - return messages that matches this field, see https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html Examples: +-------- - name: Return severity 6 messages ansible.eda.journald: match: "PRIORITY=6" @@ -17,6 +19,7 @@ - name: Return all messages ansible.eda.journald: match: "ALL" + """ import asyncio