Skip to content
Variables

Variables

Overview

The MiniPaaS Ansible role (minipaas-role/) reads these variables:

VariablePurposeDefault
minipaas_extra_portsAdditional TCP ports for the firewall[]
telegram_bot_tokenTelegram bot token for monitoring alertsTELEGRAM_TOKEN env var
telegram_chat_idTelegram chat ID for monitoring alertsTELEGRAM_CHAT env var
swarm_cronjob_versionswarm-cronjob release on the primary manager1.14.0

Define them in inventory.ini, group_vars/, or host_vars/.


Variable Details

Firewall

A list of extra TCP ports to allow on every node:

minipaas_extra_ports:
  - 8000
  - 9090

Telegram

Set both values to receive monitoring reports and alerts:

telegram_bot_token: "123:ABC"
telegram_chat_id: "999111222"

swarm-cronjob

swarm_cronjob_version selects the release downloaded on the primary manager.


Summary

These variables customize the firewall, monitoring, and the swarm-cronjob release. All other provisioning tasks use built-in defaults.