mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
717 B
717 B
CGRates Package Installation
Installs CGRates from deb package and configures from private GitHub repo.
Setup
- Configure
inventory.iniwith your server and GitHub details - Run:
ansible-playbook -i inventory.ini main.yaml
SSH keys auto-generated. Set github_ssh_use_deploy_keys=true for repo-specific access.
Repository Structure
config-repo/
├── node1/
│ ├── etc/
│ │ └── cgrates/
│ │ └── cgrates.json
│ └── tp/
└── node2/
├── etc/
│ └── cgrates/
└── tp/
The playbook clones the repo to /opt/{repo-name} and creates symlinks:
/etc/cgrates→/opt/{repo-name}/node1/etc/cgrates