Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| infrastructure:sip:wazo:installation [18/08/2026 17:41] – créée Stéphane Paillet | infrastructure:sip:wazo:installation [18/08/2026 18:36] (Version actuelle) – Stéphane Paillet | ||
|---|---|---|---|
| Ligne 2: | Ligne 2: | ||
| {{tag> | {{tag> | ||
| - | À venir. | + | Nous installons les paquets nécessaires |
| + | |||
| + | < | ||
| + | sudo apt update && sudo apt install sudo git ansible curl | ||
| + | </ | ||
| + | |||
| + | Cloner le dépôt wazo-ansible, | ||
| + | |||
| + | < | ||
| + | git clone https:// | ||
| + | cd wazo-ansible | ||
| + | ansible_tag=wazo-$(curl https:// | ||
| + | git checkout $ansible_tag | ||
| + | </ | ||
| + | |||
| + | Éditer et adapter le fichier d' | ||
| + | |||
| + | < | ||
| + | vi inventories/ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # -*- conf -*- | ||
| + | # You only have to change [uc_engine_host] and set variables according | ||
| + | # to your needs (e.g. remove localhost line and add the IP on which | ||
| + | # wazo-platform will be installed) | ||
| + | |||
| + | [all: | ||
| + | ansible_python_interpreter = / | ||
| + | |||
| + | [uc_engine_host] | ||
| + | localhost ansible_connection=local | ||
| + | |||
| + | [database: | ||
| + | uc_engine_host | ||
| + | |||
| + | [engine_api: | ||
| + | uc_engine_host | ||
| + | |||
| + | [b2bua: | ||
| + | uc_engine_host | ||
| + | |||
| + | [uc_engine: | ||
| + | b2bua | ||
| + | database | ||
| + | engine_api | ||
| + | |||
| + | # Uncomment the 2 following lines if you want to deploy wazo-ui too: | ||
| + | [uc_ui: | ||
| + | uc_engine_host | ||
| + | |||
| + | [uc_engine: | ||
| + | # Variables are defined in ../ | ||
| + | |||
| + | # Uncomment the 2 following lines to install the stable version (default is | ||
| + | # development version) | ||
| + | wazo_distribution = wazo-dev-bookworm | ||
| + | wazo_distribution_upgrade = wazo-dev-bookworm | ||
| + | |||
| + | # PostgreSQL settings | ||
| + | postgresql_port = 5432 | ||
| + | # postgresql_superuser_password = | ||
| + | postgresql_listen_addresses = 127.0.0.1 | ||
| + | </ | ||
| + | |||
| + | Nous installons les collections nécessaires | ||
| + | |||
| + | < | ||
| + | ansible-galaxy install -r requirements-postgresql.yml | ||
| + | </ | ||
| + | |||
| + | Nous lançons le déploiement | ||
| + | |||
| + | < | ||
| + | ansible-playbook -i inventories/ | ||
| + | </ | ||
| + | |||
| + | ===== Test ===== | ||
| + | |||
| + | Pour s' | ||
| + | |||
| + | < | ||
| + | wazo-service status | ||
| + | </ | ||
| + | |||
| + | Vous devriez avoir ce retour | ||
| + | |||
| + | < | ||
| + | Checking database... | ||
| + | OK | ||
| + | Checking services... | ||
| + | running wazo-plugind | ||
| + | running wazo-webhookd | ||
| + | running wazo-sysconfd | ||
| + | running wazo-confgend | ||
| + | running wazo-confd | ||
| + | running wazo-auth | ||
| + | running wazo-call-logd | ||
| + | running wazo-dxtora | ||
| + | running wazo-provd | ||
| + | running wazo-agid | ||
| + | running asterisk | ||
| + | running wazo-amid | ||
| + | running wazo-agentd | ||
| + | running wazo-dird | ||
| + | running wazo-phoned | ||
| + | running wazo-calld | ||
| + | running wazo-websocketd | ||
| + | running wazo-chatd | ||
| + | </ | ||
| + | |||
| + | ===== Liens ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||