fix: fix version install constraint
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
999bea67ea
commit
78ce39c746
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user