diff options
Diffstat (limited to 'roles/obs/tasks')
-rw-r--r-- | roles/obs/tasks/main.yml | 8 | ||||
-rw-r--r-- | roles/obs/tasks/mpv.yml | 11 |
2 files changed, 13 insertions, 6 deletions
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 |