Commit Graph

84 Commits

Author SHA1 Message Date
ionutboangiu
d1536a01d3 ansible: add github_ssh role for SSH key management 2025-11-05 18:06:13 +01:00
ionutboangiu
86f35a72fa ansible: remove redundant cgrates_package_version var
use cgrates_branch instead
2025-11-05 18:06:13 +01:00
ionutboangiu
81e98a5dd2 ansible: get rid of golang vars from cgrates role 2025-11-05 18:06:13 +01:00
ionutboangiu
a46d320040 ansible: update cgrates role to also allow pkg install 2025-11-05 18:06:13 +01:00
ionutboangiu
df40c1777a update rabbitmq role repos 2025-11-04 18:14:58 +01:00
ionutboangiu
4d1664a162 update RabbitMQ repos and auto-detect distro 2025-06-11 10:58:37 +02:00
ionutboangiu
3dceaa5642 add entry for 1.0 dist in reprepro cfg 2025-05-08 16:15:30 +02:00
arberkatellari
cba94d3efe Update Go version to 1.24.2 and revise deb_package script 2025-04-11 21:13:29 +02:00
arberkatellari
a168f262e2 Add dump and restore functionality for internal DBs 2025-04-06 12:08:40 +02:00
ionutboangiu
ce1640151c update gpg role
now equivalent to gpg task files from deb_packages
2025-03-25 14:29:44 +01:00
ionutboangiu
7497e1c91e extract reprepro logic to dedicated role 2025-03-25 14:29:44 +01:00
ionutboangiu
2b33debd31 fix checksum mismatch in ansible go role 2025-03-01 07:25:48 +01:00
ionutboangiu
7f132f19e4 Bump go version to 1.24.0 2025-02-26 16:19:47 +01:00
ionutboangiu
afb3bac6eb Add missing host flag to pjsua_call script 2025-01-24 11:44:21 +01:00
ionutboangiu
7c204f68e0 Update elasticsearch ansible role
- bump version from 8.8.0 to 8.16.1
- don't enable the systemd service by default(just start it)
- add restart handler on config changes
- configure before starting the service
- fix some linter errors
- hardcode auto_create_indexes to true
2024-11-27 16:50:47 +01:00
ionutboangiu
f8bba051ae Revise go role cache clean tasks
Use go env GOMODCACHE for path resolution
Add become: true to prevent permission issues
Check stdout instead of stderr for go clean -x --cache
2024-11-26 14:04:49 +01:00
ionutboangiu
32e3adb9fb Revise go setup role
- clean go cache at the role level
- cache cleaning is skipped by default
- fix lint errors
2024-11-22 20:30:13 +01:00
ionutboangiu
a68880a774 Revise cgrates setup ansible role
- allows skipping symlink creation
- symlink binary destinations can be configured
- renamed git_version -> cgrates_branch. This also makes sure
  cgrates_branch variable is being set directly from the role
  and there's no need to configure it in the playbook.
- fixed some linter warnings and slightly improved formatting
2024-11-22 20:30:13 +01:00
ionutboangiu
ab02a8a8dd Bump go version (1.22.5 -> 1.23.2)
needed for io.CopyFS function
2024-10-16 18:43:34 +02:00
gezimbll
3dccb44511 added compressing for metrics on trends 2024-10-14 16:01:32 +02:00
ionutboangiu
67a8dd65f9 add ansible role for alertmanager 2024-09-05 20:56:14 +02:00
ionutboangiu
ef2e1d7527 chore: remove unused prometheus ansible task file 2024-09-05 20:56:14 +02:00
ionutboangiu
c356d1d796 update kafka version in role (3.7.0->3.8.0) 2024-08-19 12:12:16 +02:00
ionutboangiu
48b13c919b Complete monitoring ansible playbook
- add dashboard provisioning for grafana
- add README file
2024-08-06 08:48:36 +02:00
ionutboangiu
cc25eae687 Add node_exporter ansible role 2024-08-05 13:28:33 +02:00
ionutboangiu
76b7be1adc Add grafana ansible role 2024-08-05 13:28:33 +02:00
ionutboangiu
398aa2a2a6 Add prometheus ansible role 2024-08-05 13:28:33 +02:00
ionutboangiu
da4bf0d783 Sync (and update) go version
go.mod had a later version than the one used inside the
role, which caused the deb packaging to fail.

Updated all of them to latest.
2024-07-05 11:20:09 +02:00
ionutboangiu
4d8a2d7bdd Format kafka ansible role files 2024-06-30 16:28:52 +02:00
ionutboangiu
89f97d45e1 Bump version in nats ansible role + formatting 2024-06-06 13:30:14 +02:00
ionutboangiu
448eea3918 Format some ansible roles 2024-06-06 13:30:14 +02:00
ionutboangiu
8be19292aa Implement sipp ansible role 2024-05-16 14:46:30 +02:00
ionutboangiu
8bf2ae0d38 Implement ansible opensips playbook for call tests 2024-05-16 10:29:05 +02:00
DanB
bc3b665187 Updating go toolchain to 1.22.3 inside ansible role 2024-05-08 11:32:28 +02:00
DanB
31935cc995 Updating go checksum in ansible script 2024-05-08 11:15:13 +02:00
DanB
3ac3fc98a5 Bumping go version in ansible 2024-05-08 10:59:05 +02:00
ionutboangiu
9af344aac7 Revise cgrates ansible role 2024-05-05 14:25:14 +02:00
ionutboangiu
16c61eeb9d Implement opensips ansible role 2024-05-05 14:25:14 +02:00
ionutboangiu
b690f11db7 Implement freediameter ansible role 2024-05-05 14:25:14 +02:00
ionutboangiu
fb19544718 Revise pjsua role
- changed default version to 2.14.1
- ensured that tutorial call scrips still use 2.9
- made role idempotent
- added pjsua_helper_scripts default var that if set to true will deploy
two scripts: pjsua_listen and pjsua_call (defaults to false)
- added option to decide whether we delete the pjsua repo post install
- made binary path configurable (will be used for both pjsua as well as
the helper scripts
- use copy instead of command when copying binary to its final path
- import roles directly instead of through tasks where applicable (call
roles)
2024-05-05 14:25:14 +02:00
ionutboangiu
5391a3f055 Retrieve os distribution from builtin facts in mongo role 2024-04-16 21:10:13 +02:00
arberkatellari
9be32c36da Add CAPs counting to cgr-console status command 2024-03-04 09:50:10 +01:00
ionutboangiu
61bcf48678 Bump go version 2024-02-14 10:15:51 +01:00
ionutboangiu
9f3f4058b2 Bump mongodb version in ansible role 2023-10-26 15:55:54 +02:00
ionutboangiu
6e182f64c1 Update kafka handler to run with sudo 2023-10-19 17:20:00 +02:00
ionutboangiu
5ce0e8dfa5 Update kafka ansible role
- use kraft instead of zookeeper
- add handlers in case of cfg changes
- create a separate user for the kafka service
- bump kafka version
- make the role more configurable
2023-10-17 17:40:43 +02:00
ionutboangiu
36bbcbc2e1 Update rabbitmq role for latest debian/ubuntu compatibility 2023-10-16 18:57:48 +03:00
ionutboangiu
27c6d503a5 Bump go version and update checksum 2023-10-12 11:10:01 +02:00
ionutboangiu
84cdf743bd Bump go version 2023-10-09 21:09:27 +02:00
gezimbll
e18f60cea1 Added nfs server ansible role 2023-09-29 20:28:37 +02:00