summaryrefslogtreecommitdiffstats
path: root/roles/bbb/tasks/main.yml
blob: 14f4f9439de64edc4a540aad6a5c2412c5a8c796 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
- name: Create group
  group:
    name: "{{ emacsconf_group }}"
    state: present
- name: Create user
  user:
    name: "{{ emacsconf_user }}"
    group: "{{ emacsconf_group }}"
    state: present
- name: Add public key for authorized access
  ansible.posix.authorized_key:
    user: "{{ emacsconf_user }}"
    state: present
    key: '{{ item }}'
  with_file:
    - ../../base/files/keys/sachac
    - ../../base/files/keys/orga
- name: Set up video.yml
  become: true
  template:
    src: video.yml
    dest: /usr/local/bigbluebutton/core/scripts/video.yml
- name: Set up bigbluebutton.yml
  become: true
  template:
    src: bigbluebutton.yml
    dest: /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml
- name: Set up bbb-web.properties
  become: true
  template:
    src: bbb-web.properties
    dest: /etc/bigbluebutton/bbb-web.properties
- name: Set up recording.yml
  become: true
  template:
    src: recording.yml
    dest: /etc/bigbluebutton/recording/recording.yml
- name: Set up presentation.yml
  become: true
  template:
    src: recording.yml
    dest: /etc/bigbluebutton/recording/presentation.yml
- name: Set up bbb-html5.yml
  become: true
  template:
    src: bbb-html5.yml
    dest: /etc/bigbluebutton/bbb-html5.yml
- name: Set up haproxy
  become: true
  template:
    src: haproxy.cfg
    dest: /etc/haproxy/haproxy.cfg
- name: Set up nginx site config
  become: true
  template:
    src: bigbluebutton
    dest: /etc/nginx/sites-available/bigbluebutton