Fixing unknown module
This commit is contained in:
@@ -33,11 +33,12 @@
|
|||||||
when: not (molecule_test_mode | default(false))
|
when: not (molecule_test_mode | default(false))
|
||||||
|
|
||||||
- name: Create Nextcloud bucket in MinIO
|
- name: Create Nextcloud bucket in MinIO
|
||||||
community.general.minio:
|
ansible.builtin.command:
|
||||||
endpoint: "http://localhost:9010"
|
cmd: >
|
||||||
access_key: "{{ minio_root_user }}"
|
docker run --rm --network host
|
||||||
secret_key: "{{ minio_root_password }}"
|
--entrypoint /bin/sh
|
||||||
name: "{{ minio_nextcloud_bucket }}"
|
minio/mc:latest
|
||||||
state: present
|
-c "mc alias set local http://localhost:9010 {{ minio_root_user }} {{ minio_root_password }}
|
||||||
ignore_errors: true
|
&& mc mb --ignore-existing local/{{ minio_nextcloud_bucket }}"
|
||||||
|
changed_when: false
|
||||||
when: not (molecule_test_mode | default(false))
|
when: not (molecule_test_mode | default(false))
|
||||||
|
|||||||
Reference in New Issue
Block a user