From dad54555a6682b32682977bea7823eb26b9ba088 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Fri, 20 Oct 2023 12:47:43 -0400 Subject: update caption dir and assets dir --- roles/obs/tasks/main.yml | 8 +++++++- roles/obs/tasks/mpv.yml | 11 ++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) (limited to 'roles/obs/tasks') diff --git a/roles/obs/tasks/main.yml b/roles/obs/tasks/main.yml index c73f596..f88cc8f 100644 --- a/roles/obs/tasks/main.yml +++ b/roles/obs/tasks/main.yml @@ -57,7 +57,13 @@ regexp: '(AllowUsers(?!.*\b{{ emacsconf_id }}-{{ item.id }}\b).*)$' replace: \1 {{ emacsconf_id }}-{{ item.id }} loop: "{{ emacsconf_tracks }}" - +- name: Set system timezone + community.general.timezone: + name: "{{ emacsconf_timezone }}" +- name: Restart cron + ansible.builtin.service: + name: cron + state: restarted - name: Set emacsconf_user timezone lineinfile: line: export TZ={{ emacsconf_timezone }} diff --git a/roles/obs/tasks/mpv.yml b/roles/obs/tasks/mpv.yml index 9fbdc05..4120f8c 100644 --- a/roles/obs/tasks/mpv.yml +++ b/roles/obs/tasks/mpv.yml @@ -7,13 +7,14 @@ repo: deb https://non-gnu.uvt.nl/debian {{ ansible_distribution_release }} uvt - name: Install mpv apt: - name: mpv=0.34.1+fruit.2 + name: mpv - name: Download MPVC git: repo: https://github.com/lwilletts/mpvc.git dest: /usr/src/mpvc - name: Install MPVC - make: - chdir: /usr/src/mpvc - target: install - + copy: + src: /usr/src/mpvc/mpvc + dest: /usr/local/bin/mpvc + mode: 0755 + remote_src: true -- cgit v1.2.3