mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated ansible scripts
This commit is contained in:
committed by
Dan Christian Bogos
parent
eec3bbe70c
commit
8a236165f4
@@ -53,13 +53,13 @@
|
||||
apt:
|
||||
name: redis-server
|
||||
|
||||
- name: Install the mongo
|
||||
apt:
|
||||
name: mongodb-server
|
||||
# - name: Install the mongo
|
||||
# apt:
|
||||
# name: mongodb-server
|
||||
|
||||
- name: Install the mysql
|
||||
apt:
|
||||
name: mysql-server
|
||||
name: mariadb-server
|
||||
|
||||
- name: Install the postgresql
|
||||
apt:
|
||||
@@ -70,6 +70,8 @@
|
||||
name: postgresql-contrib
|
||||
|
||||
###########################################################################################################################
|
||||
- name: Install mongo
|
||||
include: mongo.yaml
|
||||
|
||||
- name: Install kafka
|
||||
include: kafka.yaml
|
||||
|
||||
16
data/ansible/integration_tests/mongo.yaml
Normal file
16
data/ansible/integration_tests/mongo.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: Add an apt key for MongoDB
|
||||
apt_key:
|
||||
url: https://www.mongodb.org/static/pgp/server-4.0.asc
|
||||
state: present
|
||||
|
||||
- name: Add apt repository for MongoDB
|
||||
apt_repository:
|
||||
repo: "deb http://repo.mongodb.org/apt/debian {{ ansible_distribution_release }}/mongodb-org/4.0 main"
|
||||
filename: mongodb-org-4.0
|
||||
update_cache: yes
|
||||
|
||||
- name: Install MongoDB
|
||||
apt:
|
||||
name: "mongodb-org"
|
||||
state: present
|
||||
Reference in New Issue
Block a user