Ansible role to install and configure a Beszel binary agent.
Important
This Ansible role has been migrated to the community.beszel
Ansible Collection.
This Ansible role will continue to function but all future development work will be included in the collection.
None.
beszel_public_key: ""
Public key used to authenticate the Beszel binary agent to the Hub.
beszel_state: present
State of the Beszel binary agent installation. Can be either present
or absent
.
beszel_version: latest
Version of the Beszel binary agent to install. Can be a specific version from GitHub (e.g., v0.9.1
).
beszel_port: 45876
Port for the Beszel binary agent to listen on.
beszel_install_dir: /usr/local/bin
Directory to install the Beszel binary agent into.
beszel_user: beszel
Name of the user to create and run the Beszel binary agent as.
beszel_args: ""
Custom arguments for the Beszel binary agent.
beszel_extra_filesystems: []
beszel_extra_filesystems:
- sdb1
- sdc1
- mmcblk0
- /mnt/network-share
Extra filesystems to be monitored by the Beszel binary agent. Configures the EXTRA_FILESYSTEMS environment variable in the agent systemd unit file.
beszel_service_enabled: true
Enable the Beszel binary agent systemd service on boot.
beszel_service_state: started
State of the Beszel binary agent systemd service.
This role depends on a precompiled binary published on GitHub at henrygd/beszel
- hosts: all
roles:
- role: dbrennand.beszel
vars:
beszel_public_key: "<Public key for Beszel hub>"