Skip to content

RouterBase/ansible-routerbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RouterBase Ansible Collection

RouterBase provides an OpenAI-compatible API gateway at https://routerbase.com/v1.

This collection helps configure RouterBase environment files for applications, CI runners, and servers managed by Ansible.

Install

After the collection is published on Ansible Galaxy:

ansible-galaxy collection install routerbase.routerbase

From GitHub:

ansible-galaxy collection install git+https://github.com/RouterBase/ansible-routerbase.git

Example

- hosts: localhost
  gather_facts: false
  tasks:
    - name: Write RouterBase environment file
      routerbase.routerbase.routerbase_env:
        path: .env.routerbase
        api_key: "{{ lookup('env', 'ROUTERBASE_API_KEY') }}"
        model: google/gemini-2.5-flash

The generated file includes:

  • ROUTERBASE_BASE_URL
  • ROUTERBASE_API_KEY, when provided
  • ROUTERBASE_MODEL
  • OPENAI_BASE_URL
  • OPENAI_API_KEY, when provided

Links

License

MIT

About

Ansible collection for RouterBase OpenAI-compatible configuration

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages