Adding molecule unit tests
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: "{{ minio_data_dir }}"
|
||||
state: present
|
||||
when: not (molecule_test_mode | default(false))
|
||||
|
||||
- name: Wait for MinIO to be ready
|
||||
ansible.builtin.uri:
|
||||
@@ -29,6 +30,7 @@
|
||||
until: result.status == 200
|
||||
retries: 15
|
||||
delay: 5
|
||||
when: not (molecule_test_mode | default(false))
|
||||
|
||||
- name: Create Nextcloud bucket in MinIO
|
||||
community.general.minio:
|
||||
@@ -38,3 +40,4 @@
|
||||
name: "{{ minio_nextcloud_bucket }}"
|
||||
state: present
|
||||
ignore_errors: true
|
||||
when: not (molecule_test_mode | default(false))
|
||||
|
||||
Reference in New Issue
Block a user