Commits (2)
# This is an ansible playbook to apply BBB configuration values
# For the local host, use it (as root) like:
# ansible-playbook --connection=local -i, path/to/bbb-apply-config.yml
- name: Apply local BBB configuration
hosts: all
hosts: bigbluebutton
become: yes
- name: We are alive
msg: "Hello, world!"
msg: Hello world, from {{ ansible_fqdn }}.
- name: Fix nginx bigbluebutton config
path: /etc/nginx/sites-available/bigbluebutton
insertafter: server_name
block: |
location / {
return 301 https://$host$request_uri;
## tls-secured bbb ###
server {
server_name {{ ansible_fqdn }};
backup: yes
......@@ -86,22 +86,22 @@ elif "config" in sys.argv:
print("graph_args --base 1000 -l 0")
print("graph_category system")
print("attendees.label attendees")
print("attendees.type DERIVE")
print("attendees.type GAUGE")
print("attendees.info Number of attendees")
print("attendees.draw AREA")
print("meetings.label meetings")
print("meetings.type DERIVE")
print("meetings.type GAUGE")
print("meetings.info Number of active conferences")
print("video.label video")
print("video.type DERIVE")
print("video.type GAUGE")
print("video.info Number of video streams")
print("video.draw STACK")
print("voice.label voice")
print("voice.type DERIVE")
print("voice.type GAUGE")
print("voice.info Number of voice streams")
print("voice.draw STACK")
print("listeners.label listeners")
print("listeners.type DERIVE")
print("listeners.type GAUGE")
print("listeners.info Number of listening attendees")
print("listeners.draw STACK")