proxmox - remove useless "when"
This commit is contained in:
parent
028c2a8eaa
commit
8ae3f5eee5
@ -21,7 +21,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
register: prometheus_postgres_exporter_configuration
|
register: prometheus_proxmox_exporter_configuration
|
||||||
notify:
|
notify:
|
||||||
- 'prometheus | proxmox exporter | restart service'
|
- 'prometheus | proxmox exporter | restart service'
|
||||||
tags: ['prometheus_proxmox']
|
tags: ['prometheus_proxmox']
|
||||||
@ -35,7 +35,7 @@
|
|||||||
mode: 0600
|
mode: 0600
|
||||||
notify:
|
notify:
|
||||||
- 'prometheus | promox exporter | restart service'
|
- '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']
|
tags: ['prometheus_proxmox']
|
||||||
|
|
||||||
- name: 'promox exporter | systemd | enable service'
|
- name: 'promox exporter | systemd | enable service'
|
||||||
@ -44,5 +44,5 @@
|
|||||||
enabled: yes
|
enabled: yes
|
||||||
name: prometheus-{{ exporter }}-exporter.service
|
name: prometheus-{{ exporter }}-exporter.service
|
||||||
ignore_errors: '{{ ansible_check_mode }}'
|
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']
|
tags: ['prometheus_proxmox']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user