mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
playbooks
This commit is contained in:
1 parent
69802266ae
commit
ef1efe26b2
36 files changed
+1770
No files matched your search
@@ -0,0 +1,14 @@
|
||||
- name: Diag dee-pc config
|
||||
hosts: dee-pc
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Read first lines of telegraf.conf
|
||||
win_shell: |
|
||||
Get-Content -Path "C:\Program Files\Telegraf\telegraf.conf" -TotalCount 10
|
||||
args:
|
||||
executable: powershell
|
||||
register: head
|
||||
|
||||
- name: Show head
|
||||
debug:
|
||||
var: head.stdout_lines
|
||||
Reference in new issue
Block a user