cybus.connectware.agent (2.2.2) — module

Manages Agent Instances

Authors: Jan Erichsen (@NotoriousBIT)

This plugin has a corresponding action plugin.

Install collection

Install with ansible-galaxy collection install cybus.connectware:==2.2.2


Add to requirements.yml

  collections:
    - name: cybus.connectware
      version: 2.2.2

Description

Deploy, or manage a custom Connectware Agent


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Agent present
  cybus.connectware.agent:
    state: "{{ state }}"
    license: "{{ license }}"
    environment:
      CYBUS_MQTT_HOST: localhost

Inputs

    
state:
    choices:
    - present
    - absent
    - started
    - stopped
    - restarted
    default: started
    description:
    - Target state for the Connectware Agent
    type: str

license:
    description:
    - A valid Connectware License
    type: str

offline:
    default: false
    description:
    - Flag for offline installation
    type: bool

version:
    description:
    - The Connectware Version to install
    type: str

registry:
    default: registry.cybus.io
    description:
    - Registry used for pulling images
    type: str

environment:
    default: {}
    description:
    - A list of environment variables to be written
    type: dict

install_path:
    default: /opt/connectware/agent
    description:
    - Target installation path
    type: str

env_file_name:
    default: .env
    description:
    - The name of the generated env file
    type: str

registry_user:
    default: license
    description:
    - Registry username
    type: str

remove_images:
    default: true
    description:
    - Flag for disabling removal of images
    type: bool

remove_volumes:
    default: false
    description:
    - Flag for enabeling removal of volumes
    type: bool

compose_file_name:
    default: docker-compose.yml
    description:
    - The name of the used docker compose file
    type: str

compose_file_path:
    description:
    - The local directory path, which holds the compose file
    type: str

registry_password:
    description:
    - Registry password
    type: str

offline_image_pull:
    default: false
    description:
    - Flag to enable pulling of docker images even so we are offline
    type: bool

validate_web_certs:
    default: false
    description:
    - Flag to enable web certificate checking
    type: bool

remove_all_cybus_images:
    default: true
    description:
    - Flag for disabling removal of all cybus images
    type: bool

remove_all_cybus_volumes:
    default: false
    description:
    - Flag for enabeling removal of all cybus volumes
    type: bool

remove_all_cybus_networks:
    default: true
    description:
    - Flag for disabling removal of all cybus networks
    type: bool