diff options
author | Sacha Chua <sacha@sachachua.com> | 2023-10-20 12:47:43 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2023-10-20 12:47:43 -0400 |
commit | dad54555a6682b32682977bea7823eb26b9ba088 (patch) | |
tree | b588356e9f555bd7d19e6d60d1bcaf8ef7c3808c /roles/obs/tasks | |
parent | df15d8d56324d2129823cfaf0b50f6f08c220071 (diff) | |
download | emacsconf-ansible-dad54555a6682b32682977bea7823eb26b9ba088.tar.xz emacsconf-ansible-dad54555a6682b32682977bea7823eb26b9ba088.zip |
update caption dir and assets dir
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 |