diff options
Diffstat (limited to 'fdio.infra.ansible/roles/cadvisor')
-rw-r--r-- | fdio.infra.ansible/roles/cadvisor/defaults/main.yaml | 2 | ||||
-rw-r--r-- | fdio.infra.ansible/roles/cadvisor/tasks/main.yaml | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/fdio.infra.ansible/roles/cadvisor/defaults/main.yaml b/fdio.infra.ansible/roles/cadvisor/defaults/main.yaml index 3b25e551ea..5dba8c9112 100644 --- a/fdio.infra.ansible/roles/cadvisor/defaults/main.yaml +++ b/fdio.infra.ansible/roles/cadvisor/defaults/main.yaml @@ -21,4 +21,4 @@ image: "{{ image_by_arch[ansible_machine] }}" image_by_arch: aarch64: "zcube/cadvisor:v0.37.0" - x86_64: "gcr.io/cadvisor/cadvisor:v0.38.7"
\ No newline at end of file + x86_64: "gcr.io/cadvisor/cadvisor:v0.38.7" diff --git a/fdio.infra.ansible/roles/cadvisor/tasks/main.yaml b/fdio.infra.ansible/roles/cadvisor/tasks/main.yaml index a2a13368c2..a8c3f70124 100644 --- a/fdio.infra.ansible/roles/cadvisor/tasks/main.yaml +++ b/fdio.infra.ansible/roles/cadvisor/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' @@ -23,12 +23,12 @@ 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" |