X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Fiperf%2Ftasks%2Fmain.yaml;h=a2b7709cef38964d8a432b8f7df0ae5e79be164b;hp=f8948cae57d0946a51f979d4df1099bfcae4792e;hb=d41a5490f30a161561c39c4f1b08add17b9cf6f7;hpb=a24c98b45ca1e9d56039d7649f65ac31e006d949 diff --git a/fdio.infra.ansible/roles/iperf/tasks/main.yaml b/fdio.infra.ansible/roles/iperf/tasks/main.yaml index f8948cae57..a2b7709cef 100644 --- a/fdio.infra.ansible/roles/iperf/tasks/main.yaml +++ b/fdio.infra.ansible/roles/iperf/tasks/main.yaml @@ -3,7 +3,7 @@ - name: Inst - Update Package Cache (APT) apt: - update_cache: yes + update_cache: true cache_valid_time: 3600 when: - ansible_distribution|lower == 'ubuntu' @@ -40,7 +40,7 @@ - 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 @@ -48,7 +48,7 @@ - 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 @@ -56,7 +56,7 @@ - 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