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: >