Files
cgrates/data/ansible/cgrates_deb_install/README.md
2025-11-05 18:06:13 +01:00

717 B

CGRates Package Installation

Installs CGRates from deb package and configures from private GitHub repo.

Setup

  1. Configure inventory.ini with your server and GitHub details
  2. 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