Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.2 KiB

---
- name: Deploy configuration
template: src={{ item }}.j2 dest={{ jitsi_root_dir }}/etc/jibri/{{ item }}
loop:
- xorg-video-dummy.conf
- jibri.conf
notify: restart jitsi-jibri
tags: jitsi
- name: Configure pam
copy:
content: |
#%PAM-1.0
auth required pam_permit.so
account required pam_permit.so
dest: /etc/pam.d/xserver
tags: jitsi
- name: Allow any user to run Xorg
copy:
content: allowed_users = anybody
dest: /etc/X11/Xwrapper.config
tags: jitsi
- name: Create Chrome policy dir
file: path=/etc/opt/chrome/policies/managed/ state=directory
tags: jitsi
- name: Configure Chrome policy
copy:
content: |
{ "CommandLineFlagSecurityWarningsEnabled": false }
dest: /etc/opt/chrome/policies/managed/managed_policies.json
tags: jitsi
- name: Ensure snd-aloop is loaded
modprobe: name=snd-aloop state=present
tags: jitsi
- name: Configure snd-aloop to be loaded on boot
copy:
content: snd-aloop
dest: /etc/modules-load/jibri.conf
tags: jitsi
- name: Configure asound
template: asound.conf.j2 dest={{ jitsi_root_dir }}/jibri/.asoundrc owner={{ jitsi_jibri_user }}
tags: jitsi