This commit is contained in:
2025-05-23 08:35:05 -04:00
parent 6980161fc7
commit 0834b32431
+3 -2
View File
@@ -23,8 +23,9 @@
ansible.builtin.shell:
cmd: /tmp/install-agent.sh -p 45876 -k "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT"
# - name: Add beszel agent key
# ansible.builtin.command:: echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT" >> /root/.ssh/authorized_keys
- name: Add beszel agent key
ansible.builtin.shell:
cmd: echo "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT" >> /root/.ssh/authorized_keys
- hosts: windowshosts
tasks: