skupper.network.services_load (1.2.1) — module

Loads existing services and targets

| "added in version" 1.2.0 of skupper.network"

Authors: Fernando Giorgetti (@fgiorgetti)

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install skupper.network:==1.2.1


Add to requirements.yml

  collections:
    - name: skupper.network
      version: 1.2.1

Description

Loads existing Skupper services and targets. Existing services will be returned under the `existing_services` fact.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Loading existing services
  skupper.network.services_load:

Inputs

    
context:
    description:
    - KUBECONFIG context to use
    required: false
    type: str

hostname:
    description:
    - Ansible's inventory_hostname used to represent the given Skupper site
    - This is automatically provided by the action plugin
    required: false
    type: str

platform:
    description:
    - Platform to be used (kubernetes or podman)
    required: false
    type: str

namespace:
    description:
    - Kubernetes namespace to run the Skupper site
    required: false
    type: str

kubeconfig:
    description:
    - KUBECONFIG file to be used (defaults to ${HOME}/.kube/config)
    required: false
    type: str

podman_endpoint:
    description:
    - Podman endpoint to use when managing a Skupper site
    required: false
    type: str

Outputs

existing_services:
  description: List of existing services and targets
  returned: always
  sample:
    existing_services:
      db:
        ports:
        - 5432
      nearestprime:
        ports:
        - 8000
        targets:
        - name: nearestprime
          type: deployment
  type: dict