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
This commit is contained in:
ionutboangiu
2024-11-21 17:48:49 +02:00
committed by Dan Christian Bogos
parent d5aa567e98
commit a68880a774
4 changed files with 55 additions and 51 deletions

View File

@@ -55,7 +55,7 @@ jobs:
- name: Run Ansible Playbook
run: |
ansible-playbook data/ansible/integration_tests/main.yaml -i localhost, -c local -e "ansible_user=$(whoami) cgrates_dir=$GITHUB_WORKSPACE clone_repository=false install_go=false"
ansible-playbook data/ansible/integration_tests/main.yaml -i localhost, -c local -e "ansible_user=$(whoami) cgrates_dir=$GITHUB_WORKSPACE cgrates_clone_repo=false install_go=false"
# - name: Set up tmate session for debugging
# uses: mxschmitt/action-tmate@v3