...
 
Commits (2)
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
debug: debug:
msg: Hello world, from {{ ansible_fqdn }}. msg: Hello world, from {{ ansible_fqdn }}.
- name: Fix nginx bigbluebutton config - name: nginx config - make port 80 redirect to 443
blockinfile: blockinfile:
path: /etc/nginx/sites-available/bigbluebutton path: /etc/nginx/sites-available/bigbluebutton
insertafter: server_name insertafter: server_name
...@@ -25,3 +25,10 @@ ...@@ -25,3 +25,10 @@
server { server {
server_name {{ ansible_fqdn }}; server_name {{ ansible_fqdn }};
backup: yes backup: yes
- name: nginx config - allow TLS 1.2 only
lineinfile:
path: /etc/nginx/sites-available/bigbluebutton
regexp: '^(.*)ssl_protocols .*;'
line: '\1ssl_protocols TLSv1.2;'
backrefs: yes
...@@ -81,14 +81,13 @@ if "autoconf" in sys.argv: ...@@ -81,14 +81,13 @@ if "autoconf" in sys.argv:
print("yes") print("yes")
sys.exit(0) sys.exit(0)
elif "config" in sys.argv: elif "config" in sys.argv:
print("graph_order attendees listeners voice video meetings ") print("graph_order listeners voice video meetings attendees")
print("graph_title BigBlueButton conferences") print("graph_title BigBlueButton conferences")
print("graph_args --base 1000 -l 0") print("graph_args --base 1000 -l 0")
print("graph_category system") print("graph_category system")
print("attendees.label attendees") print("attendees.label attendees")
print("attendees.type GAUGE") print("attendees.type GAUGE")
print("attendees.info Number of attendees") print("attendees.info Number of attendees")
print("attendees.draw AREA")
print("meetings.label meetings") print("meetings.label meetings")
print("meetings.type GAUGE") print("meetings.type GAUGE")
print("meetings.info Number of active conferences") print("meetings.info Number of active conferences")
...@@ -103,7 +102,7 @@ elif "config" in sys.argv: ...@@ -103,7 +102,7 @@ elif "config" in sys.argv:
print("listeners.label listeners") print("listeners.label listeners")
print("listeners.type GAUGE") print("listeners.type GAUGE")
print("listeners.info Number of listening attendees") print("listeners.info Number of listening attendees")
print("listeners.draw STACK") print("listeners.draw AREA")
sys.exit(0) sys.exit(0)
print("meetings.value %s" % numMeetings) print("meetings.value %s" % numMeetings)
print("attendees.value %s" % numAttendees) print("attendees.value %s" % numAttendees)
......