summaryrefslogtreecommitdiffstats
path: root/roles/obs/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/obs/tasks/main.yml7
-rw-r--r--roles/obs/tasks/obs-setup.yml4
-rw-r--r--roles/obs/tasks/track.yml26
-rw-r--r--roles/obs/tasks/user.yml1
4 files changed, 28 insertions, 10 deletions
diff --git a/roles/obs/tasks/main.yml b/roles/obs/tasks/main.yml
index 8c1e059..ab94878 100644
--- a/roles/obs/tasks/main.yml
+++ b/roles/obs/tasks/main.yml
@@ -19,6 +19,7 @@
- alsa-utils
- dbus-x11
- obs-studio
+ - mumble
- xserver-xorg-dev
- xdotool
update_cache: yes
@@ -67,10 +68,6 @@
file:
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
- path: "{{ item }}"
+ path: "{{ emacsconf_asset_dir }}"
state: directory
mode: 0775
- loop:
- - /data/{{ emacsconf_id }}/stream
- - /data/{{ emacsconf_id }}/overlays
-
diff --git a/roles/obs/tasks/obs-setup.yml b/roles/obs/tasks/obs-setup.yml
index 911f609..acd3c1c 100644
--- a/roles/obs/tasks/obs-setup.yml
+++ b/roles/obs/tasks/obs-setup.yml
@@ -49,15 +49,13 @@
mode: 0664
- name: Create text files for OBS sources
copy:
- content: "Initializing..."
+ content: ""
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
dest: "~{{ emacsconf_user }}/{{ filename }}.txt"
mode: 0664
loop:
- news
- - url
- - bottom
loop_control:
loop_var: filename
- name: Create OBS scripts for tracks
diff --git a/roles/obs/tasks/track.yml b/roles/obs/tasks/track.yml
index 14533df..fe49116 100644
--- a/roles/obs/tasks/track.yml
+++ b/roles/obs/tasks/track.yml
@@ -1,5 +1,5 @@
- name: Set vars
- tags: obs-scene, obs-profile, mpv, wip
+ tags: obs-scene, obs-profile, mpv, wip, mumble
set_fact:
old_emacsconf_user: "{{ emacsconf_user }}"
old_emacsconf_home: "{{ emacsconf_home }}"
@@ -79,11 +79,33 @@
dest: "~{{ emacsconf_user }}/.config/i3/config"
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_group }}"
+ - name: Set up Mumble configuration directory
+ tags: mumble
+ file:
+ path: "~{{ emacsconf_user }}/.config/Mumble"
+ state: directory
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
+ - name: Debug mumble
+ debug:
+ var: mumble_certificates['dev']
+ - name: Set up mumble
+ tags: mumble
+ template:
+ src: Mumble.conf
+ dest: "~{{ emacsconf_user }}/.config/Mumble/Mumble.conf"
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
- name: Set up Emacs configuration
tags: wip
include: emacs.yml
+ - name: Set up symbolic links
+ file:
+ src: "/data/{{ emacsconf_id }}/assets/stream"
+ dest: "~{{ emacsconf_user }}/stream"
+ state: link
- name: Reset vars
- tags: obs-scene, obs-profile, mpv, wip
+ tags: obs-scene, obs-profile, mpv, wip, mumble
set_fact:
old_emacsconf_user: "{{ emacsconf_user }}"
old_emacsconf_home: "{{ emacsconf_home }}"
diff --git a/roles/obs/tasks/user.yml b/roles/obs/tasks/user.yml
index fae7d9f..00e68a8 100644
--- a/roles/obs/tasks/user.yml
+++ b/roles/obs/tasks/user.yml
@@ -11,6 +11,7 @@
file:
path: "/home/{{ emacsconf_user }}/.ssh"
owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
state: directory
mode: 700
- name: Set up SSH key access