mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 22:29:55 +05:00
CGRates Package Installation
Installs CGRates 1.0 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