Update beszel install playbook

This commit is contained in:
2025-05-23 07:47:09 -04:00
parent effab92d6a
commit 4783067ec1
+7 -1
View File
@@ -2,7 +2,13 @@
- 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"
command: cd /tmp
- name: Get beszel agent install script
command: curl -sL https://get.beszel.dev -o /tmp/install-agent.sh
- name: Setup beszel agent install script
command: chmod +x /tmp/install-agent.sh
- name: Execute beszel agent install script
command: /tmp/install-agent.sh -p 45876 -k "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT"
- name: Add beszel agent key
command: echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT" >> /root/.ssh/authorized_keys