summaryrefslogtreecommitdiff
path: root/roles/install_iperf3/tasks/main.yml
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-14 21:03:58 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-14 21:03:58 +0100
commitc216adad03b74dbf954b0b2ed0c615a25f00e1ea (patch)
tree56339f0f489d0b269609fbbf7ad327f6545f0c25 /roles/install_iperf3/tasks/main.yml
parentdad5d1ac2225556a845d2fbd05f74a5f19bd96cf (diff)
added iperf3
Diffstat (limited to 'roles/install_iperf3/tasks/main.yml')
-rw-r--r--roles/install_iperf3/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/install_iperf3/tasks/main.yml b/roles/install_iperf3/tasks/main.yml
new file mode 100644
index 0000000..a7e5df6
--- /dev/null
+++ b/roles/install_iperf3/tasks/main.yml
@@ -0,0 +1,16 @@
+---
+- name: install iperf3
+ pacman:
+ name: iperf3
+ state: present
+
+- name: copy iperf3 systemd-service
+ copy:
+ src: iperf3-tcp.service
+ dest: /etc/systemd/system/iperf3-tcp.service
+
+- name: start and enable iperf3 tcp
+ systemd:
+ name: iperf3-tcp.service
+ enabled: yes
+ state: started