updated dkron state

This commit is contained in:
Paul 2021-11-14 13:35:52 +01:00
parent cd4e14a8dd
commit 0fc13c478d

View File

@ -6,20 +6,20 @@ dkron-user:
dkron-archive-extract: dkron-archive-extract:
archive.extracted: archive.extracted:
- name: {{ dkron.release_dir }}/dkron_{{ dkron.version }} - name: {{ dkron.release_dir }}/dkron-{{ dkron.version }}
- source: {{ dkron.mirror }}/v{{ dkron.version }}/dkron_{{ dkron.version }}_{{ dkron.os }}_{{ dkron.arch }}.tar.gz - source: {{ dkron.mirror }}/v{{ dkron.version }}/dkron_{{ dkron.version }}_{{ dkron.os }}_{{ dkron.arch }}.tar.gz
- user: {{ dkron.runuser }} - user: {{ dkron.runuser }}
- enforce_toplevel: false - enforce_toplevel: false
- skip_verify: true - skip_verify: true
- archive_format: tar - archive_format: tar
- if_missing: {{ dkron.release_dir }}/dkron_{{ dkron.version }} - if_missing: {{ dkron.release_dir }}/dkron-{{ dkron.version }}
- watch_in: - watch_in:
- service: dkron-service - service: dkron-service
dkron-bin-symlink: dkron-bin-symlink:
file.symlink: file.symlink:
- name: {{ dkron.install_dir }}/dkron - name: {{ dkron.install_dir }}/dkron
- target: {{ dkron.release_dir }}/dkron_{{ dkron.version }} - target: {{ dkron.release_dir }}/dkron-{{ dkron.version }}
- user: {{ dkron.runuser }} - user: {{ dkron.runuser }}
- watch_in: - watch_in:
- service: dkron-service - service: dkron-service
@ -29,4 +29,10 @@ dkron-data-dir:
- name: {{ dkron.config.get('data-dir') }} - name: {{ dkron.config.get('data-dir') }}
- user: {{ dkron.runuser }} - user: {{ dkron.runuser }}
- watch_in: - watch_in:
- service: dkron-service - service: dkron-service
dkron-cleanup:
software.cleanup:
- name: dkron
- path: {{ dkron.release_dir }}
- version: {{ dkron.version }}