iperf3
Iperf3
This role checks the availability of hosts and measures the speed to them. The role takes the list of hosts from the "hostlist" table in the mysql database, then inserts the results into new tables "iperf3" and "unavailable_log". It also creates a log file called unreachable.log with a list of unreachable hosts.
Requirements
- You should create tables in MySQL (take my SQL script here: https://github.com/superset1/SQL/blob/master/MySQL_Create_db_hosts_for_iperf3.sql)
- You need to change the values of the variables in /vars/main.yml file
- Copy the /tests/test.yml file to the folder where you have a folder named "roles"
- Write the following command on the command line: ansible-playbook test.yml
- Congratulations you did it!
NOTE: You can rename test.yml file as you like
Role Variables
See description for variables in /vars/main.yml file
Dependencies
Don't need anything
Example Playbook
See the finished Playbook in folder tests
License
MIT
Author Information
Hello, I'm Vitaly Kargin and I'm on my way to becoming a devops engineer!