mgdis.ovh.image_info (0.1.2) — module

| "added in version" 0.1.0 of mgdis.ovh"

Authors: unknown

Install collection

Install with ansible-galaxy collection install mgdis.ovh:==0.1.2


Add to requirements.yml

  collections:
    - name: mgdis.ovh
      version: 0.1.2

Description

This module retrieves the info of an image or a snapshot.

It searches the image by the name provided for a specific region.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get image info
  mgdis.ovh.image_info:
    service_name: abcdefghijklmnopqrstuvwxyz012345
    name: "Centos 7"
    region: GRA7

Inputs

    
name:
    description:
    - The image or snapshot name to look for
    required: true
    type: str

region:
    description:
    - The region where the image should be
    required: true
    type: str

service_name:
    description:
    - The OVH service name.
    - It is equal to the ID of the project in the OVH portal
    required: true
    type: str