Infra: Ansible yaml lint cleanup
[csit.git] / fdio.infra.ansible / roles / intel / tasks / main.yaml
index 4f62891..0d361a9 100644 (file)
@@ -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'
 - name: Inst - Check Presence of Intel Ethernet 810 Series
   shell: "lspci -d 8086:1592"
   register: intel_e810_pcis
 - name: Inst - Check Presence of Intel Ethernet 810 Series
   shell: "lspci -d 8086:1592"
   register: intel_e810_pcis
-  failed_when: no
-  changed_when: no
+  failed_when: false
+  changed_when: false
   tags:
     - intel-inst-drivers
 
 - name: Inst - Check Presence of Intel Ethernet 700 Series
   shell: "lspci -d 8086:1583; lspci -d 8086:1585; lspci -d 8086:1572"
   register: intel_700_pcis
   tags:
     - intel-inst-drivers
 
 - name: Inst - Check Presence of Intel Ethernet 700 Series
   shell: "lspci -d 8086:1583; lspci -d 8086:1585; lspci -d 8086:1572"
   register: intel_700_pcis
-  failed_when: no
-  changed_when: no
+  failed_when: false
+  changed_when: false
   tags:
     - intel-inst-drivers
 
   tags:
     - intel-inst-drivers
 
   tags:
     - intel-inst-drivers
 
   tags:
     - intel-inst-drivers
 
-#- name: Inst - Driver Intel Ethernet 700 Series
-#  import_tasks: i40e.yaml
-#  when:
-#    - intel_700_pcis.stdout_lines | length > 0
-#  tags:
-#    - intel-inst-drivers
+# - name: Inst - Driver Intel Ethernet 700 Series
+#   import_tasks: i40e.yaml
+#   when:
+#     - intel_700_pcis.stdout_lines | length > 0
+#   tags:
+#     - intel-inst-drivers
 
 
-#- name: Inst - VF Driver Intel
-#  import_tasks: iavf.yaml
-#  when:
-#    - intel_700_pcis.stdout_lines | length > 0 or intel_e810_pcis.stdout_lines | length > 0
-#  tags:
-#    - intel-inst-drivers
+# - name: Inst - VF Driver Intel
+#   import_tasks: iavf.yaml
+#   when:
+#     - intel_700_pcis.stdout_lines | length > 0 or intel_e810_pcis.stdout_lines | length > 0
+#   tags:
+#     - intel-inst-drivers