fix: fix version install constraint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-05-30 14:26:05 +02:00
parent 999bea67ea
commit 78ce39c746
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 4 additions and 4 deletions

View File

@ -33,9 +33,9 @@
- prometheus-{{ prometheus_version }}.linux-amd64/NOTICE - prometheus-{{ prometheus_version }}.linux-amd64/NOTICE
- prometheus-{{ prometheus_version }}.linux-amd64/prometheus.yml - prometheus-{{ prometheus_version }}.linux-amd64/prometheus.yml
notify: __prometheus_restart notify: __prometheus_restart
when: prometheus_version is version(prometheus_current_version, ">") or prometheus_current_version is version('0.0.0', "=")
become: True become: True
become_user: "{{ prometheus_user }}" become_user: "{{ prometheus_user }}"
when: prometheus_version is version(prometheus_current_version, ">") or prometheus_current_version is version('0.0.0', "=")
- block: - block:
- name: Copy prometheus config file - name: Copy prometheus config file