From 00bd6f14436eb7908434145edefabda1bb073ace Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 9 Jun 2024 11:04:41 +0200 Subject: [PATCH] Fix prune all unused images. Use sensors-polling production HTTP port --- tasks/deploy_sensors-polling.yml | 3 ++- tasks/deploy_thermostat.yml | 3 ++- templates/sensors-polling-conf.yml.j2 | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tasks/deploy_sensors-polling.yml b/tasks/deploy_sensors-polling.yml index 93b77d3..13dadeb 100644 --- a/tasks/deploy_sensors-polling.yml +++ b/tasks/deploy_sensors-polling.yml @@ -43,5 +43,6 @@ - name: Prune images containers.podman.podman_prune: image: true - dangling_only: false + image_filters: + dangling_only: false become: true diff --git a/tasks/deploy_thermostat.yml b/tasks/deploy_thermostat.yml index 62ab01e..f4d5137 100644 --- a/tasks/deploy_thermostat.yml +++ b/tasks/deploy_thermostat.yml @@ -51,5 +51,6 @@ - name: Prune images containers.podman.podman_prune: image: true - dangling_only: false + image_filters: + dangling_only: false become: true diff --git a/templates/sensors-polling-conf.yml.j2 b/templates/sensors-polling-conf.yml.j2 index fbf039b..810e8cf 100644 --- a/templates/sensors-polling-conf.yml.j2 +++ b/templates/sensors-polling-conf.yml.j2 @@ -1,4 +1,4 @@ -http_port: 3001 +http_port: 3000 # The output of the command must be a JSON dict with metrics name as keys and metrics value as value. polling_conf: