227 Commits

Author SHA1 Message Date
ionutboangiu
0fbbc83e97 skip reprepro when commit already registered 2025-12-15 16:40:49 +01:00
ionutboangiu
a394c728c0 handle pkg server failure in deb_packages ansible 2025-12-11 12:09:47 +01:00
ionutboangiu
7505848124 ansible: remove cgrates_deb_install (moved to private repo) 2025-11-21 21:32:19 +01:00
ionutboangiu
9fed096a9f ansible: add cgrates_deb_install playbook 2025-11-05 18:06:13 +01:00
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
19f39945d9 make use of gpg/reprepro roles in playbooks 2025-03-25 14:29:44 +01: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
3ea6d99981 add gpg_key_rotation ansible playbook
ensures reprepro files are signed with the current GPG key, without
having to build new packages.
2025-03-19 12:35:15 +01:00
ionutboangiu
eb6db08465 update Go in chroots when version differs 2025-03-09 10:56:31 +01:00
ionutboangiu
5bd8844537 improve rescue handling with logs and chroot cleanup 2025-03-09 10:56:31 +01:00
ionutboangiu
86a73908c5 merge file find and remove tasks in always block 2025-03-09 10:56:31 +01:00
ionutboangiu
bd03bb8326 clarify task names related to .changes file checks 2025-03-09 10:56:31 +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
a50cad7c3f Enforce one changes file per dist + debug info 2024-12-01 20:26:20 +01:00
ionutboangiu
e1229a3a03 Add missing state attribute in file module 2024-12-01 20:26:20 +01:00
ionutboangiu
3f930dacc6 Improve task names in reprepro task file 2024-12-01 20:26:20 +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
b615f2aeba Revise deb_packages ansible playbook
- incoming folder is always cleaned up
- cleanup generated package files prior to moving to incoming
- fix some lint errors
- import cgrates role
- remove go cache clean steps (done at role level now)
- improved formatting
2024-11-22 20:30:13 +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
6c9b5d2908 Add monitoring ansible playbook 2024-08-05 13:28:33 +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
8ed26c769e Replace ansible include with include/import_tasks
Deprecated and not available in versions 2.16+
2024-07-05 11:20:09 +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
ionutboangiu
f87e52cf63 Update ansible calls playbooks
Fixes issue where cgrates role would attempt to run setup
scripts for postgres, when postgres is not installed.
2024-05-16 10:29:05 +02:00