Commit Graph

25 Commits

Author SHA1 Message Date
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
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
2754f1e7d4 Rename ansible roles to be consistent 2023-08-28 12:23:28 +02:00
ionutboangiu
48b375ab99 Revise cgrates ansible role
Removed clone_repository variable from defaults. Now if it's not found
we will assume it's true.

In the cgrates building task we are not forcibly sourcing the /etc/profile
script anymore since it's redundant (we are using bash -lc to execute the
script, where -l will do that automatically).

Make sure we create symbolic links for all binaries we build (not just cgr-engine).
This meant the migrator task environment field could be removed as well.
2023-08-28 12:23:28 +02:00
ionutboangiu
691eef8e43 Update go role to support both apt and dnf 2023-07-05 14:07:22 +02:00
ionutboangiu
15703c78a5 Remove go.yaml files in favour of install_go role 2023-06-05 10:53:58 +02:00
ionutboangiu
a2e3fa1d3a Use ansible roles for reusable tasks 2023-05-18 19:28:39 +02:00
nickolasdaniel
2206e5452f Upgraded golang version to 1.18 2022-03-18 11:58:39 +01:00
andronache
63bac17a0f Fixed ansible script for calls freeswitch 2021-11-01 13:49:33 +02:00
Trial97
28d4b755bf Updated ansible scripts 2021-07-23 10:57:08 +02:00
andronache
c07d692f25 Fixed ansible script for freeswitch 2021-07-09 16:31:21 +02:00
andronache
892cbdf6f0 Finished replacing error in case of missing flags in agents with warning 2021-06-29 09:56:51 +02:00
andronache
61781b10c5 Modified ansible script for calls freewitch 2021-06-29 09:56:51 +02:00
andronache
81d6692207 Finished making all Ansible scripts for calls work 2021-06-25 18:10:51 +02:00
andronache
8aee3b6fe0 Modified anisble script for pjsua 2021-06-25 18:10:51 +02:00
Trial97
dc9402cac3 Updated ansible for integration tests 2021-05-19 19:30:51 +02:00
porosnicuadrian
86a846e44b Updated ansible scripts for freeswitch 2021-03-26 19:15:42 +01:00
nickolasdaniel
4be82cd76f Coverage tests in ees package and updated Go version in Ansible scripts 2021-03-12 16:10:04 +01:00
TeoV
3d83b58945 Rename from gouser to user from internalPkgAddr to pkgAddr for ansible scripts 2020-06-23 17:00:06 +02:00
adragusin
d45b7c2172 Updated go version to 1.14 2020-03-09 10:35:40 +01:00
TeoV
b678433fd2 Update ansible scripts to allow updating go when is neccesary 2019-09-18 08:23:56 +02:00
TeoV
0897470a6b Update ansible scripts to be compatible with older versions of ansible 2019-09-16 09:34:59 +02:00
Trial97
b7dfdf885e Updated ansible scripts 2019-09-04 19:31:53 +02:00
Trial97
f7d5fdb335 Updated t go 1.13 2019-09-04 16:22:08 +02:00
TeoV
c59721f4f2 Add ansible for installing and configuration CGRateS with FreeSWITCH 2019-09-03 13:04:14 +02:00