proxmox - remove useless "when"

This commit is contained in:
Ludovic Cartier 2023-02-06 18:16:46 +01:00
parent 028c2a8eaa
commit 8ae3f5eee5

View File

@ -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']