GithubHelp home page GithubHelp logo

wilkis3 / bbb_coturn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elan-ev/bbb_coturn

0.0 0.0 0.0 16 KB

This is an ansible role to set up coturn to work with BigBlueButton.

Home Page: https://galaxy.ansible.com/elan/bbb_coturn

License: BSD 3-Clause "New" or "Revised" License

Jinja 100.00%

bbb_coturn's Introduction

Set up a TURN/STUN server for BigBlueButton

molecule

This is an ansible-role to set up coturn to work with BigBlueButton and largely follows the official BigBlueButton documentation.

Role Variables

For a full overview of configuration options look at the defaults. The default values all-in-all follow the official recommendations from the BigBlueButton docs. However, you can configure some more options for extra security if you prefer.

Custom Config Files

Instead of mapping a lot of variables from an ansible-config-file to a coturn-config-file, you can simply specify the path to your own config-templates. To do so, overwrite the default value in the variable coturn_config_template.

This way you can use this role for any coturn configuration that you might desire.

Security and Firewall Related

This role can configure firewalld or ufw for coturn. However, you have to tell it so explicitely by either setting configure_for_firewalld or configure_for_ufw to true.

TLS

By default, tls is configured and thus you should check if the default variables make sense for your setup. If, e.g. for test purposes, you don't want to use tls, simply set the variable use_tls to false.

Example Playbook

Your playbook might look like this:

---

- hosts: all
  become: true
  roles:
    - role: elan.bbb_coturn
      static_auth_secret: 1234
      realm: foo.com
      configure_for_firewalld: true
      configure_logrotate: true

If you want to pass you own config template:

---

- hosts: all
  become: true
  roles:
    - role: elan.bbb_coturn
      nginx_tls_config: 'my_templates/nginx_tls_config.yml.j2'

In this case you would have a configuration template for coturn that is located in a folder my_templates relative to the playbook.

Development

For development and testing you can use molecule. With podman as driver you can install it like this โ€“ preferably in a virtual environment:

pip install -r .dev_requirements.txt

Then you can create the test instances, apply the ansible config (converge) and destroy the test instances with these commands:

molecule create
molecule converge
molecule destroy

If you want to inspect a running test instance use molecule login --host <instance_name>, where you replace <instance_name> with the desired value.

License

BSD-3-Clause

Author Information

ELAN e.V

bbb_coturn's People

Contributors

tibroc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.