Merge pull request #69 from noelmcloughlin/onchange

fix(indempotency): run reload onchanges only
This commit is contained in:
N 2021-08-06 10:59:34 +01:00 committed by GitHub
commit 6951f9f482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ prometheus-archive-install-{{ name }}-managed-service:
- group: prometheus-config-users-install-{{ name }}-group-present
cmd.run:
- name: systemctl daemon-reload
- require:
- onchanges:
{%- if p.pkg.component.get(name).get('archive').get('tar', true) %}
- archive: prometheus-archive-install-{{ name }}
{% else %}