Update to 2022-09-01 17:00

This commit is contained in:
Daniel Berteaud 2022-09-01 17:00:16 +02:00
parent 53fb8e20ee
commit e8bb3701f7
3 changed files with 5 additions and 5 deletions

View File

@ -5,12 +5,12 @@
# You can set it to a number or a simple string (no special chars) # You can set it to a number or a simple string (no special chars)
kimai_id: 1 kimai_id: 1
# Kimai version to deploy # Kimai version to deploy
kimai_version: '1.23.0' kimai_version: '1.23.1'
# URL of the archive # URL of the archive
kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz
# Expected sha256 of the archive # Expected sha256 of the archive
kimai_archive_sha256: 00c05037444be31af03ec070dd69c02aefd873ab6eee9b1abcc323b19f17494b kimai_archive_sha256: e0636b39a8936cbe32f8463a4338ccbecd0a0d6c10100c306e40c76ea5d7f2fc
# Directory where kimai will be installed # Directory where kimai will be installed
kimai_root_dir: /opt/kimai_{{ kimai_id }} kimai_root_dir: /opt/kimai_{{ kimai_id }}

View File

@ -10,8 +10,8 @@
creates: "{{ nomad_root_dir }}/archives/{{ nomad_current_version }}/nomad.snap" creates: "{{ nomad_root_dir }}/archives/{{ nomad_current_version }}/nomad.snap"
when: when:
- nomad_conf.server.enabled - nomad_conf.server.enabled
- nomad_services.ansible_facts.services['nomad.service'] is defined - nomad_sys_services.ansible_facts.services['nomad.service'] is defined
- nomad_services.ansible_facts.services['nomad.service'].state == 'started' - nomad_sys_services.ansible_facts.services['nomad.service'].state == 'started'
environment: environment:
NOMAD_TOKEN: "{{ nomad_mgm_token | default(omit) }}" NOMAD_TOKEN: "{{ nomad_mgm_token | default(omit) }}"
tags: nomad tags: nomad

View File

@ -40,5 +40,5 @@
- name: Check the state of the services - name: Check the state of the services
service_facts: service_facts:
register: nomad_services register: nomad_sys_services
tags: nomad tags: nomad