1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_iperf.git synced 2024-08-16 13:09:49 +02:00
ansible_role_iperf/tasks/install.yml

15 lines
314 B
YAML
Raw Permalink Normal View History

2021-08-18 15:52:25 +02:00
---
- name: update repo-cache for debian/ubuntu
become: true
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
when:
- ansible_pkg_mgr == "apt"
- name: install iperf
become: true
ansible.builtin.package:
name: "{{ iperf__packages }}"
state: "{{ iperf__package_state }}"