diff --git a/roles/mgrote_minio_configure/tasks/user.yml b/roles/mgrote_minio_configure/tasks/user.yml index bef53dde..820dfcff 100644 --- a/roles/mgrote_minio_configure/tasks/user.yml +++ b/roles/mgrote_minio_configure/tasks/user.yml @@ -35,7 +35,7 @@ - name: debug ansible.builtin.debug: msg: "{{ keys }}" - when: '"Access Keys:" in keys' + when: '"Access Keys:" in keys.stdout' - name: setup minio users ansible.builtin.command: "{{ minio_client_bin }} --dp admin user add {{ minio_root_alias }} {{ item.name }} {{ item.secret }}"