diff --git a/roles/mgrote_minio_configure/tasks/user.yml b/roles/mgrote_minio_configure/tasks/user.yml index 369c3413..a04c9f7b 100644 --- a/roles/mgrote_minio_configure/tasks/user.yml +++ b/roles/mgrote_minio_configure/tasks/user.yml @@ -42,6 +42,7 @@ ansible.builtin.command: "{{ minio_client_bin }} --dp admin accesskey create {{ minio_root_alias }} {{ item.item.name }}" loop: "{{ keys.results }}" when: "'Access Keys:' not in item.stdout" + register: new_keys - name: Output newly created access keys ansible.builtin.debug: