fix(indempotency): run reload onchanges only
This commit is contained in:
parent
2c572d0019
commit
9166498fd8
@ -153,7 +153,7 @@ prometheus-archive-install-{{ name }}-managed-service:
|
|||||||
- group: prometheus-config-users-install-{{ name }}-group-present
|
- group: prometheus-config-users-install-{{ name }}-group-present
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: systemctl daemon-reload
|
- name: systemctl daemon-reload
|
||||||
- require:
|
- onchanges:
|
||||||
{%- if p.pkg.component.get(name).get('archive').get('tar', true) %}
|
{%- if p.pkg.component.get(name).get('archive').get('tar', true) %}
|
||||||
- archive: prometheus-archive-install-{{ name }}
|
- archive: prometheus-archive-install-{{ name }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user