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
/
mellanox
/
tasks
/
main.yaml
diff --git
a/fdio.infra.ansible/roles/mellanox/tasks/main.yaml
b/fdio.infra.ansible/roles/mellanox/tasks/main.yaml
index
6702829
..
3cccdb7
100644
(file)
--- a/
fdio.infra.ansible/roles/mellanox/tasks/main.yaml
+++ b/
fdio.infra.ansible/roles/mellanox/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'
@@
-20,8
+20,8
@@
- name: Inst - Check Presence of Mellanox Hardware
shell: "lspci | grep Mellanox | awk '{print $1}'"
register: mellanox_pcis
- name: Inst - Check Presence of Mellanox Hardware
shell: "lspci | grep Mellanox | awk '{print $1}'"
register: mellanox_pcis
- failed_when:
no
- changed_when:
no
+ failed_when:
false
+ changed_when:
false
tags:
- mellanox-inst
tags:
- mellanox-inst