Skupper Ansible module: controller
Manages the lifecycle of the skupper-controller for system sites
Description
Manages the lifecycle of the skupper-controller. Prepares the environment and runs the skupper-controller for system sites Runs with podman (default) or docker engines With podman-docker (Docker CLI using Podman), use the podman platform; the docker platform requires a real Docker daemon.
Options
| Option | Type | Default | Choices | Description |
|---|---|---|---|---|
action | str | install | install, uninstall | V(install) - Prepares the environment and runs the skupper-controller V(uninstall) - Adjusts the local environment and removes the skupper-controller |
image | str | quay.io/skupper/system-controller:v2-dev | The controller-image to use | |
platform | str | podman | podman, docker | The platform used to run the controller for system sites |
reload_type | str | manual | auto, manual | The type of reload of input custom resources |
Requirements
python >= 3.9PyYAML >= 3.11
Examples
# Installs the skupper-controller using podman
- name: Installs the skupper-controller using podman
skupper.v2.controller:
action: install
platform: podman
reload_type: auto
# Uninstalls the skupper-controller
- name: Uninstalls the skupper-controller
skupper.v2.controller:
action: uninstallSource
https://github.com/skupperproject/skupper-ansible/blob/main/plugins/modules/controller.py