- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
- name: Compile Release I
command: "./configure"
args:
- chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
+ chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
loop: "{{ iperf_version }}"
tags:
- iperf-inst
- name: Compile Release II
command: "make"
args:
- chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
+ chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
loop: "{{ iperf_version }}"
tags:
- iperf-inst
- name: Compile Release III
command: "make install"
args:
- chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
+ chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
loop: "{{ iperf_version }}"
tags:
- - iperf-inst
\ No newline at end of file
+ - iperf-inst