Skip to content

Commit

Permalink
docstrings
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Sjögren <[email protected]>
  • Loading branch information
konstruktoid committed Jun 21, 2023
1 parent d22892d commit a701c7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions/eda/plugins/event_source/journald.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -17,6 +19,7 @@
- name: Return all messages
ansible.eda.journald:
match: "ALL"
"""

import asyncio
Expand Down

0 comments on commit a701c7c

Please sign in to comment.