From 8ae3f5eee55c18b9c30ec13b63892510ce05833f Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Mon, 6 Feb 2023 18:16:46 +0100 Subject: [PATCH] proxmox - remove useless "when" --- tasks/exporter/proxmox.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/exporter/proxmox.yml b/tasks/exporter/proxmox.yml index 8051cd6..cac49e0 100644 --- a/tasks/exporter/proxmox.yml +++ b/tasks/exporter/proxmox.yml @@ -21,7 +21,7 @@ owner: root group: root mode: 0600 - register: prometheus_postgres_exporter_configuration + register: prometheus_proxmox_exporter_configuration notify: - 'prometheus | proxmox exporter | restart service' tags: ['prometheus_proxmox'] @@ -35,7 +35,7 @@ mode: 0600 notify: - 'prometheus | promox exporter | restart service' - when: not stat_result.stat.exists or exporter_upgrade == "yes" + #when: not stat_result.stat.exists or exporter_upgrade == "yes" tags: ['prometheus_proxmox'] - name: 'promox exporter | systemd | enable service' @@ -44,5 +44,5 @@ enabled: yes name: prometheus-{{ exporter }}-exporter.service ignore_errors: '{{ ansible_check_mode }}' - when: not stat_result.stat.exists or exporter_upgrade == "yes" + #when: not stat_result.stat.exists or exporter_upgrade == "yes" tags: ['prometheus_proxmox']