Update ansible/beszel_agent.yml

This commit is contained in:
2026-08-11 23:42:45 +02:00
parent 3b5483510a
commit 890f5af047

View File

@@ -51,7 +51,6 @@ tasks:
- not (skip | default(false))
- host_is_online | default(false)
ignore_unreachable: true
ignore_errors: true
block:
- name: Pobranie skryptu instalacyjnego Beszel
ansible.builtin.get_url:
@@ -63,12 +62,13 @@ tasks:
ansible.builtin.shell: >
/tmp/install-agent.sh
-p "{{ beszel_port }}"
-k "{{ beszel_key }}"
-k "{{ beszel_key | quote }}"
-t "{{ beszel_token }}"
-url "{{ beszel_url }}"
--auto-update
register: beszel_install
changed_when: "'Installation complete' in beszel_install.stdout or beszel_install.rc == 0"
ignore_errors: true
- name: Usunięcie pliku instalacyjnego z /tmp
ansible.builtin.file: