From 96add3ea02ffafbf616df54cc04f3738cb3ab357 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 9 Nov 2024 11:23:28 +0100 Subject: [PATCH] dd --- roles/mgrote_minio_configure/tasks/user.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/mgrote_minio_configure/tasks/user.yml b/roles/mgrote_minio_configure/tasks/user.yml index 58b01c39..1c281893 100644 --- a/roles/mgrote_minio_configure/tasks/user.yml +++ b/roles/mgrote_minio_configure/tasks/user.yml @@ -44,9 +44,15 @@ when: "'Access Keys:' not in item.stdout" register: new_keys -- name: Print all access keys (is set to true) +- name: get all access keys (is set to true) ansible.builtin.command: "{{ minio_client_bin }} --dp admin accesskey list {{ minio_root_alias }} --all" when: minio_print_keys + register: all_keys + +- name: geprintt all access keys (is set to true) + ansible.builtin.debug: + msg: "{{ all_keys }}" + when: minio_print_keys # verschieben ans ende