setup minio automation #229
1 changed files with 6 additions and 0 deletions
|
@ -8,3 +8,9 @@
|
||||||
url: "{{ minio_url }}"
|
url: "{{ minio_url }}"
|
||||||
state: "{{ item.state | default('present') }}" # löschen geht nur mit leerem Bucket
|
state: "{{ item.state | default('present') }}" # löschen geht nur mit leerem Bucket
|
||||||
loop: "{{ minio_buckets }}"
|
loop: "{{ minio_buckets }}"
|
||||||
|
|
||||||
|
- name: Deletion Info
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: "Deletion only possible with empty bucket ({{ item.name }})"
|
||||||
|
when: '"absent" in item.state'
|
||||||
|
loop: "{{ minio_buckets }}"
|
||||||
|
|
Loading…
Reference in a new issue