diff --git a/ansible/roles/mpv/tasks/main.yml b/ansible/roles/mpv/tasks/main.yml new file mode 100644 index 0000000..3616072 --- /dev/null +++ b/ansible/roles/mpv/tasks/main.yml @@ -0,0 +1,17 @@ +--- +- name: Install MPV (video player) + become: true + pacman: + name: mpv + state: present +- name: Synchronizes the configuration of MPV for the unprivileged user + synchronize: + src: mpv + dest: /$HOME/.config + delete: true +- name: Synchronizes the configuration of MPV for the root user + become: true + synchronize: + src: mpv + dest: /root/.config + delete: true