summaryrefslogtreecommitdiffstats
path: root/roles/obs/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/obs/tasks/main.yml14
-rw-r--r--roles/obs/tasks/obs-setup.yml4
-rw-r--r--roles/obs/tasks/track.yml11
-rw-r--r--roles/obs/tasks/user.yml1
4 files changed, 19 insertions, 11 deletions
diff --git a/roles/obs/tasks/main.yml b/roles/obs/tasks/main.yml
index 5974142..806e9f2 100644
--- a/roles/obs/tasks/main.yml
+++ b/roles/obs/tasks/main.yml
@@ -57,6 +57,7 @@
regexp: '(AllowUsers(?!.*\b{{ emacsconf_id }}-{{ item.id }}\b).*)$'
replace: \1 {{ emacsconf_id }}-{{ item.id }}
loop: "{{ emacsconf_tracks }}"
+
- name: Set emacsconf_user timezone
lineinfile:
line: export TZ={{ emacsconf_timezone }}
@@ -77,3 +78,16 @@
path: "{{ emacsconf_asset_dir }}"
state: directory
mode: 0775
+- name: Set up scripts
+ tags: wip
+ template:
+ src: "{{ item }}"
+ dest: /usr/local/bin
+ mode: 0755
+ loop:
+ - overlay
+ - music
+ - play
+ - play-with-intro
+ - intro
+ - bbb
diff --git a/roles/obs/tasks/obs-setup.yml b/roles/obs/tasks/obs-setup.yml
index a64d4bd..b2f8b07 100644
--- a/roles/obs/tasks/obs-setup.yml
+++ b/roles/obs/tasks/obs-setup.yml
@@ -32,7 +32,7 @@
group: "{{ emacsconf_group }}"
dest: "~{{ emacsconf_user }}/.config/obs-studio/basic/scenes/{{ emacsconf_id }}.json"
- name: Copy overlay template for video
- tags: obs-scene, wip
+ tags: obs-scene
copy:
src: overlay.svg
dest: "~{{ emacsconf_user }}/video.svg"
@@ -40,7 +40,7 @@
group: "{{ emacsconf_group }}"
mode: 0664
- name: Copy overlay template for video
- tags: obs-scene, wip
+ tags: obs-scene
copy:
src: overlay.svg
dest: "~{{ emacsconf_user }}/other.svg"
diff --git a/roles/obs/tasks/track.yml b/roles/obs/tasks/track.yml
index 8b138ae..3993848 100644
--- a/roles/obs/tasks/track.yml
+++ b/roles/obs/tasks/track.yml
@@ -27,7 +27,7 @@
group: "{{ emacsconf_group }}"
state: directory
- name: Add MPV profile
- tags: mpv-conf, wip
+ tags: mpv-conf
template:
src: mpv.conf
dest: "~{{ emacsconf_user }}/.config/mpv/mpv.conf"
@@ -100,14 +100,7 @@
src: "/data/{{ emacsconf_id }}/assets/stream"
dest: "~{{ emacsconf_user }}/stream"
state: link
- - name: Create background music script
- tags: wip
- template:
- src: start-background-music
- dest: "~{{ emacsconf_user }}/bin/start-background-music"
- owner: "{{ emacsconf_user }}"
- group: "{{ emacsconf_group }}"
- mode: 0775
+
- name: Reset vars
tags: obs-scene, obs-profile, mpv, wip, mumble
set_fact:
diff --git a/roles/obs/tasks/user.yml b/roles/obs/tasks/user.yml
index 00e68a8..187edb2 100644
--- a/roles/obs/tasks/user.yml
+++ b/roles/obs/tasks/user.yml
@@ -30,6 +30,7 @@
state: directory
owner: "{{ emacsconf_user }}"
- name: Set up bashrc
+ tags: wip
template:
src: bashrc
dest: "/home/{{ emacsconf_user }}/.bashrc"