This commit is contained in:
Michael Grote 2024-11-09 18:35:14 +01:00
parent 79357220b2
commit 6dc7dd3483

View file

@ -3,4 +3,6 @@
ansible.builtin.command: "{{ minio_client_bin }} --dp mb {{ minio_root_alias }}/{{ item.name }}" ansible.builtin.command: "{{ minio_client_bin }} --dp mb {{ minio_root_alias }}/{{ item.name }}"
loop: "{{ minio_buckets }}" loop: "{{ minio_buckets }}"
register: buckets register: buckets
failed_when: 'not "Your previous request to create the named bucket succeeded and you already own it." in buckets.stdout' failed_when: >
(not "Your previous request to create the named bucket succeeded and you already own it." in buckets.stdout) or
(not buckets.rc == 0)