Infra: Ansible yaml lint cleanup
[csit.git] / fdio.infra.ansible / roles / cadvisor / tasks / main.yaml
index a2a1336..a8c3f70 100644 (file)
@@ -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'
     image: "{{ image }}"
     state: "started"
     restart_policy: "unless-stopped"
-    detach: yes
+    detach: true
     devices:
-     - "/dev/kmsg"
+      - "/dev/kmsg"
     ports:
-     - "8080:8080"
-    privileged: yes
+      - "8080:8080"
+    privileged: true
     volumes:
       - "/:/rootfs:ro"
       - "/var/run:/var/run:ro"