Last active
February 5, 2019 00:01
-
-
Save rvprasad/8be301b9eb08a2d9d78915962ff7b4aa to your computer and use it in GitHub Desktop.
Measure network throughput in best case scenario -- one-to-one
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: worker_raspi | |
remote_user: life | |
strategy: free | |
tasks: | |
- name: iperf1 | |
shell: iperf -t 20 -c 192.168.2.10 | |
when: ansible_host == '192.168.2.13' | |
- name: iperf2 | |
shell: iperf -t 20 -c 192.168.2.11 | |
when: ansible_host == '192.168.2.14' | |
- name: iperf3 | |
shell: iperf -t 20 -c 192.168.2.12 | |
when: ansible_host == '192.168.2.15' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_raspi: | |
hosts: | |
192.168.2.[13:15] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment