playbooks

This commit is contained in:
WickedYoda committed 2026-10-21 13:17:25 -05:00
1 parent 69802266ae
commit ef1efe26b2
36 files changed
+1770

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
- name: Diag dee-pc eventlog
hosts: dee-pc
gather_facts: no
tasks:
- name: Read latest telegraf event log entries
win_shell: |
Get-EventLog -LogName Application -Source telegraf -Newest 5 | Select-Object TimeGenerated, EntryType, Message | Format-List
args:
executable: powershell
register: ev
- name: Show event log
debug:
var: ev.stdout_lines