author | Luke Hoersten <luke@hoersten.org> |
Sun, 06 Nov 2022 23:10:04 -0600 | |
changeset 203 | 4be395f0d127 |
parent 147 | 83e9097520a0 |
permissions | -rw-r--r-- |
147 | 1 |
--- |
2 |
||
3 |
- name: apt install iperf3 |
|
4 |
become: yes |
|
5 |
apt: name="iperf3" |
|
6 |
||
7 |
- name: install iperf3 service |
|
8 |
become: yes |
|
9 |
copy: |
|
10 |
src: "iperf3.service" |
|
11 |
dest: "/lib/systemd/system/iperf3.service" |
|
12 |
mode: "0644" |
|
13 |
notify: restart iperf3 |
|
14 |
||
15 |
- name: ensure iperf3 is started |
|
16 |
become: yes |
|
17 |
systemd: service="iperf3.service" enabled="yes" state="started" daemon_reload="yes" |