kowabunga.cloud.kylo module – Manage Kowabunga NFS-like remote storage volumes
Note
This module is part of the kowabunga.cloud collection (version 0.1.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install kowabunga.cloud.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: kowabunga.cloud.kylo.
Synopsis
Create, update or delete a Kowabunga Kylo elastic NFS-like remote storage volume.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.8
kowabunga >= 0.52.5
Parameters
Parameter |
Comments |
|---|---|
Access mode for the volume. Choices:
|
|
Private API key used to connect with specified Kowabunga Kahuna endpoint. Recommended to be encrypted using Ansible Vault or SOPS. |
|
Description for the kylo volume. |
|
HTTPS(S) URI of the Kowabunga Kahuna endpoint. Should be formatted as https://kowabunga.acme.com for example. |
|
Name for the kylo volume. This attribute cannot be updated. |
|
Name (or ID) of the project where the kylo will be created. |
|
List of NFS protocol versions to support (3 and/or 4). |
|
Name (or ID) of the region where the kylo will be created. |
|
Should the resource be present or absent. Choices:
|
Examples
- name: Create a kylo volume
kowabunga.cloud.kylo:
endpoint: https://kowabunga.acme.com
api_key: API_KEY
name: vol-01
project: my-project
region: eu-west-1
- name: Delete a kylo volume
kowabunga.cloud.kylo:
endpoint: https://kowabunga.acme.com
api_key: API_KEY
name: vol-01
project: my-project
region: eu-west-1
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Dictionary describing the kylo volume. Returned: On success when state is |
|
Access mode Returned: success Sample: |
|
Kylo description Returned: success Sample: |
|
NFS mount endpoint Returned: success Sample: |
|
Kylo ID Returned: success Sample: |
|
Kylo name Returned: success Sample: |
|
NFS protocol versions Returned: success Sample: |
|
Volume size in GB Returned: success Sample: |