From 69756b84c3c0e69d9db8a88a3a717a076e760eab Mon Sep 17 00:00:00 2001 From: Wendell Jones Date: Fri, 23 May 2025 07:50:24 -0400 Subject: [PATCH] Update beszel install playboook --- beszel_install.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/beszel_install.yaml b/beszel_install.yaml index 0365774..5d77a50 100644 --- a/beszel_install.yaml +++ b/beszel_install.yaml @@ -2,15 +2,15 @@ - hosts: debianhosts tasks: - name: Install linux beszel agent - command: cd /tmp + command: chdir=/tmp - name: Get beszel agent install script - command: curl -sL https://get.beszel.dev -o /tmp/install-agent.sh + ansible.builtin.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 + ansible.builtin.command:: chmod +x /tmp/install-agent.sh - name: Execute beszel agent install script - command: /tmp/install-agent.sh -p 45876 -k "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT" + ansible.builtin.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 + ansible.builtin.command:: echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT" >> /root/.ssh/authorized_keys - hosts: windowshosts tasks: