still modifying
This commit is contained in:
+5
-6
@@ -15,14 +15,13 @@
|
||||
- name: Change file ownership, group and permissions
|
||||
ansible.builtin.file:
|
||||
path: /tmp/install-agent.sh
|
||||
owner: root
|
||||
group: root
|
||||
# owner: root
|
||||
# group: root
|
||||
mode: '0755'
|
||||
|
||||
# - name: Setup beszel agent install script
|
||||
# ansible.builtin.command:: chmod +x /tmp/install-agent.sh
|
||||
# - name: Execute beszel agent install script
|
||||
# ansible.builtin.command:: /tmp/install-agent.sh -p 45876 -k "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhA2xm3yiEqzi5dn8UerbbhZTkU538O1g1KF2d7LefT"
|
||||
- name: Execute beszel agent install script
|
||||
ansible.builtin.command:: /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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user