iperf3/server/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sun, 08 Jan 2023 16:51:18 -0600
changeset 205 2ea9460dc8d2
parent 147 83e9097520a0
permissions -rw-r--r--
Enabled presence events in dendrite.

---

- name: apt install iperf3
  become: yes
  apt: name="iperf3"

- name: install iperf3 service
  become: yes
  copy:
    src: "iperf3.service"
    dest: "/lib/systemd/system/iperf3.service"
    mode: "0644"
  notify: restart iperf3

- name: ensure iperf3 is started
  become: yes
  systemd: service="iperf3.service" enabled="yes" state="started" daemon_reload="yes"