web100clt
Ansible Role: web100clt
Installs the NDT C client, with support for a variety of Linux servers.
NDT is a tool for measuring network bandwidth. To use the client, you will need to direct it to a compatible NDT server. To find a publicly available NDT server, consult mlab-ns.
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml):
web100clt_ndt_version: HEAD
The git version of NDT to use to build the NDT C client. This can be any commit ID or tag from the mainline NDT repo.
web100clt_install_dir: /opt
The directory in which to place the built NDT C client binary.
web100clt_temp_dir: /tmp
The temporary directory to use for building files.
web100clt_jansson_version: 2.9
The version of the Jansson JSON library to use.
web100clt_jansson_build_dir: "{{ web100clt_temp_dir }}/jansson-{{ web100clt_jansson_version }}"
The directory in which to build Jansson from source.
Dependencies
None
Example Playbook
example.yml
- hosts: all
roles:
- { role: mtlynch.web100clt }
Running Example Playbook
To run the example playbook, example.yml
(above), run the following commands:
ansible-galaxy install mtlynch.web100clt
ansible-playbook example.yml
When the playbook completes, the compiled NDT C client (web100clt
) will be
available on the node at /opt/ndt/src/web100clt
.
License
Apache2
Author Information
This role was created in 2016 by Michael Lynch.
ansible-galaxy install mtlynch/ansible-role-web100clt