Adding ansible playbooks

This commit is contained in:
2025-05-23 07:32:23 -04:00
parent a596274ca6
commit a466ded673
21 changed files with 295 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
---
- hosts: debianhosts
tasks:
- name: Install linux beszel agent
command: curl -sL https://get.beszel.dev -o /tmp/install-agent.sh && chmod +x /tmp/install-agent.sh && /tmp/install-agent.sh -p 45876 -k "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT"
- hosts: windowshosts
tasks:
tasks:
- name: Install linux beszel agent
command: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser; & iwr -useb https://get.beszel.dev -OutFile "$env:TEMP\install-agent.ps1"; & "$env:TEMP\install-agent.ps1" -Key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT" -Port 45876