From 08e689cd33d7b45ec9689dcc72f331584c28ac9a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 9 Nov 2024 11:07:25 +0100 Subject: [PATCH] ff --- roles/mgrote_minio_configure/tasks/user.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/mgrote_minio_configure/tasks/user.yml b/roles/mgrote_minio_configure/tasks/user.yml index 2141c1a8..c0f5abe0 100644 --- a/roles/mgrote_minio_configure/tasks/user.yml +++ b/roles/mgrote_minio_configure/tasks/user.yml @@ -32,11 +32,11 @@ loop: "{{ minio_users }}" register: keys -- name: debug +- name: Debug: Print users with access keys ansible.builtin.debug: - msg: "{{ keys }}" - when: '"Access Keys:" in keys.item.stdout' + msg: "User {{ item.item.name }} has access keys: {{ item.stdout }}" loop: "{{ keys.results }}" + when: "'Access Keys:' in item.stdout" - name: setup minio users ansible.builtin.command: "{{ minio_client_bin }} --dp admin user add {{ minio_root_alias }} {{ item.name }} {{ item.secret }}"