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