From 9261bff8963d5136b0dc72363dfc9bfcd6aafc04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Gourv=C3=A9nec?= Date: Thu, 17 Aug 2023 11:37:55 +0200 Subject: [PATCH] Hydra-update-client: fix creation of json file --- tasks/hydra-update-client.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/hydra-update-client.yml b/tasks/hydra-update-client.yml index 17f7bb8..4f89d7d 100644 --- a/tasks/hydra-update-client.yml +++ b/tasks/hydra-update-client.yml @@ -9,6 +9,9 @@ template: src: hydra-client.json.j2 dest: "/etc/hydra/clients.d/{{ item.client_id }}.json" + with_items: "{{ hydra_clients }}" + when: item.client_id == client_id + become: true - name: Update client command: >