dubzland.minio.minio_alias (0.0.2) — module

Manages Minio Client (mc) aliases

Authors: Josh Williams (@t3hpr1m3)

Install collection

Install with ansible-galaxy collection install dubzland.minio:==0.0.2


Add to requirements.yml

  collections:
    - name: dubzland.minio
      version: 0.0.2

Description

When the alias does not exist, it will be created.

When the alias does exist and O(state=absent), the alias will be deleted.

When changes are made to the alias, the alias will be updated.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Add alias for Minio server
  dubzland.minio.minio_alias:
    name: localhost
    url: http://localhost:9000
    access_key: myuser
    secret_key: supersekret
    state: present

Inputs

    
url:
    description: Url of the Minio server to associate with this alias.
    required: true
    type: str

name:
    description: Name of the alias to be managed.
    required: true
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Indicates the desired alias state.
    - V(present) ensures the alias is present.
    - V(absent) ensures the alias is absent.
    type: str

access_key:
    description: Minio access key use to connect to the instance.
    required: true
    type: str

secret_key:
    description: Minio secret key use to connect to the instance.
    required: true
    type: str

See also