This playbook installs the Netdata Agent on specified hosts using the Kickstart method.
claim-token
: The claim token provided by Netdata.claim-url
: The claim URL provided by Netdata.channel
: The channel to use for the installation (stable, testing, or nightly).
- Install
wget
as it is required for the Netdata Kickstart script. - Install the Netdata Agent via Kickstart script, using the provided claim token, claim URL, and channel.
- Restart the Netdata Agent service on the server.
- Specify the hosts you want to install the Netdata Agent on in the
hosts
section. - Provide the
claim-token
,claim-url
, andchannel
in thevars
section. - Specify the remote user in the
remote_user
section. - Run the playbook using the command
ansible-playbook -i <inventory_file> <playbook.yml>
.