mirror of
https://github.com/roles-ansible/ansible_role_iperf.git
synced 2024-08-16 13:09:49 +02:00
14 lines
314 B
YAML
14 lines
314 B
YAML
---
|
|
- 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 }}"
|