From e8bb3701f73ae325f67c48b1c472050bffd7da95 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 1 Sep 2022 17:00:16 +0200 Subject: [PATCH] Update to 2022-09-01 17:00 --- roles/kimai/defaults/main.yml | 4 ++-- roles/nomad/tasks/archive_pre.yml | 4 ++-- roles/nomad/tasks/facts.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/kimai/defaults/main.yml b/roles/kimai/defaults/main.yml index 767f9e7..206edbd 100644 --- a/roles/kimai/defaults/main.yml +++ b/roles/kimai/defaults/main.yml @@ -5,12 +5,12 @@ # You can set it to a number or a simple string (no special chars) kimai_id: 1 # Kimai version to deploy -kimai_version: '1.23.0' +kimai_version: '1.23.1' # URL of the archive kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz # Expected sha256 of the archive -kimai_archive_sha256: 00c05037444be31af03ec070dd69c02aefd873ab6eee9b1abcc323b19f17494b +kimai_archive_sha256: e0636b39a8936cbe32f8463a4338ccbecd0a0d6c10100c306e40c76ea5d7f2fc # Directory where kimai will be installed kimai_root_dir: /opt/kimai_{{ kimai_id }} diff --git a/roles/nomad/tasks/archive_pre.yml b/roles/nomad/tasks/archive_pre.yml index f0ccaf5..a7f7560 100644 --- a/roles/nomad/tasks/archive_pre.yml +++ b/roles/nomad/tasks/archive_pre.yml @@ -10,8 +10,8 @@ creates: "{{ nomad_root_dir }}/archives/{{ nomad_current_version }}/nomad.snap" when: - nomad_conf.server.enabled - - nomad_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'] is defined + - nomad_sys_services.ansible_facts.services['nomad.service'].state == 'started' environment: NOMAD_TOKEN: "{{ nomad_mgm_token | default(omit) }}" tags: nomad diff --git a/roles/nomad/tasks/facts.yml b/roles/nomad/tasks/facts.yml index 6d8a073..295dbe3 100644 --- a/roles/nomad/tasks/facts.yml +++ b/roles/nomad/tasks/facts.yml @@ -40,5 +40,5 @@ - name: Check the state of the services service_facts: - register: nomad_services + register: nomad_sys_services tags: nomad