From 200cbd1d84305a95d1a059d1c1c53d79967b4588 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Sat, 6 Jan 2024 13:44:46 +0100 Subject: [PATCH] added main task for the mpv role --- ansible/roles/mpv/tasks/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ansible/roles/mpv/tasks/main.yml 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