setup minio automation #229
1 changed files with 2 additions and 0 deletions
|
@ -2,3 +2,5 @@
|
||||||
- name: setup minio buckets
|
- name: setup minio buckets
|
||||||
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
|
||||||
|
failed_when: 'not "Your previous request to create the named bucket succeeded and you already own it." in bucket.stdout'
|
||||||
|
|
Loading…
Reference in a new issue