Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Infra: Ansible yaml lint cleanup
[csit.git]
/
fdio.infra.ansible
/
roles
/
iperf
/
tasks
/
main.yaml
diff --git
a/fdio.infra.ansible/roles/iperf/tasks/main.yaml
b/fdio.infra.ansible/roles/iperf/tasks/main.yaml
index
f8948ca
..
a2b7709
100644
(file)
--- 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:
- name: Inst - Update Package Cache (APT)
apt:
- update_cache:
yes
+ update_cache:
true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@
-40,7
+40,7
@@
- name: Compile Release I
command: "./configure"
args:
- 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
loop: "{{ iperf_version }}"
tags:
- iperf-inst
@@
-48,7
+48,7
@@
- name: Compile Release II
command: "make"
args:
- 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
loop: "{{ iperf_version }}"
tags:
- iperf-inst
@@
-56,7
+56,7
@@
- name: Compile Release III
command: "make install"
args:
- name: Compile Release III
command: "make install"
args:
-
chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
+ chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/"
loop: "{{ iperf_version }}"
tags:
loop: "{{ iperf_version }}"
tags:
- - iperf-inst
\ No newline at end of file
+ - iperf-inst