mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 09:08:45 +05:00
38 lines
993 B
YAML
38 lines
993 B
YAML
---
|
|
- hosts: local
|
|
tasks:
|
|
- name: Install RabbitMQ
|
|
import_role:
|
|
name: ../roles/install_rabbitmq
|
|
|
|
- name: Install NATS
|
|
import_role:
|
|
name: ../roles/nats
|
|
|
|
- name: Install ElasticSearch
|
|
import_role:
|
|
name: ../roles/elasticsearch
|
|
vars:
|
|
auto_create_index: ".monitoring*,.watches,.triggered_watches,.watcher-history*,.ml*,cdrs"
|
|
|
|
# # Trying for now to overwrite the auto_create_index defaults.
|
|
# # In case of failure, we will be using the commented task below:
|
|
# - name: Create 'cdrs' index in Elasticsearch for CGRateS integration tests
|
|
# command: 'curl -X PUT "localhost:9200/cdrs?pretty"'
|
|
# ignore_errors: yes
|
|
|
|
- name: Install Kafka
|
|
import_role:
|
|
name: ../roles/install_kafka
|
|
|
|
- name: Install MongoDB
|
|
import_role:
|
|
name: ../roles/install_mongodb
|
|
|
|
- name: Install Go
|
|
import_role:
|
|
name: ../roles/install_go
|
|
|
|
- name: Install and configure CGRateS
|
|
import_role:
|
|
name: ../roles/install_cgrates |