sh4d1.scaleway.scaleway (0.0.10) — inventory

Scaleway inventory source

Authors: Remy Leone (@sieben)

Install collection

Install with ansible-galaxy collection install sh4d1.scaleway:==0.0.10


Add to requirements.yml

  collections:
    - name: sh4d1.scaleway
      version: 0.0.10

Description

Get inventory hosts from Scaleway

Inputs

    
tags:
    description: Filter results on a specific tag
    type: list

zones:
    default:
    - nl-ams-1
    - fr-par-1
    description: Filter results on a specific Scaleway region
    type: list

plugin:
    choices:
    - sh4d1.scaleway.scaleway
    description: token that ensures this is a source file for the 'scaleway' plugin.
    required: true

api_url:
    default: https://api.scaleway.com
    description: Scaleway API URL
    env:
    - name: SCW_API_URL
    required: false

hostnames:
    choices:
    - public_ipv4
    - private_ipv4
    - public_ipv6
    - hostname
    - id
    default:
    - public_ipv4
    description: List of preference about what to use as an hostname.
    type: list

variables:
    description: 'set individual variables: keys are variable names and values are templates.
      Any value returned by the L(Scaleway API, https://developer.scaleway.com/#servers-server-get)
      can be used.'
    type: dict

oauth_token:
    description: Scaleway OAuth token.
    env:
    - name: SCW_TOKEN
    - name: SCW_API_KEY
    - name: SCW_OAUTH_TOKEN
    required: true

exclude_tags:
    description: Exclude specific tags - Added in Ansible 2.8
    type: list

mandatory_tags:
    description: Filter result always matching all these tags - Added in Ansible 2.8
    type: list

organization_id:
    description: Organization ID to use
    env:
    - name: SCW_ORGANIZATION_ID
    - name: SCW_DEFAULT_ORGANIZATION_ID