ansible: get rid of golang vars from cgrates role

This commit is contained in:
ionutboangiu
2025-11-04 13:57:25 +02:00
committed by Dan Christian Bogos
parent a46d320040
commit 81e98a5dd2
2 changed files with 2 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
---
golang_gopath: "/home/{{ ansible_user }}/go"
golang_install_dir: /usr/local/go
cgrates_clone_repo: true
cgrates_dir: "{{ golang_gopath }}/src/github.com/cgrates/cgrates"
cgrates_dir: "/home/{{ ansible_user }}/go/src/github.com/cgrates/cgrates"
cgrates_branch: master
# Installation method: "source" or "package"

View File

@@ -80,7 +80,7 @@
- name: Create cgrates binary symlinks
ansible.builtin.file:
src: "{{ golang_gopath }}/bin/{{ item }}"
src: "/home/{{ ansible_user }}/go/bin/{{ item }}"
dest: "{{ cgrates_bin_path }}/{{ item }}"
state: link
become: true