mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
ansible: get rid of golang vars from cgrates role
This commit is contained in:
committed by
Dan Christian Bogos
parent
a46d320040
commit
81e98a5dd2
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user