diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-04 18:46:31 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-04 18:55:19 +0100 |
| commit | c21242a13f1cf0989c220ec8256305c85f0f6bcc (patch) | |
| tree | c2991e21deb2192340b6d5462b67d338e055afad /roles/mpv/tasks/main.yml | |
| parent | 67bc26499985bc1ffe47c0c79db8c98b826c2ac0 (diff) | |
Add mpv role w/testing
Diffstat (limited to 'roles/mpv/tasks/main.yml')
| -rw-r--r-- | roles/mpv/tasks/main.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/mpv/tasks/main.yml b/roles/mpv/tasks/main.yml new file mode 100644 index 00000000..77e42d6f --- /dev/null +++ b/roles/mpv/tasks/main.yml @@ -0,0 +1,24 @@ +--- +- name: "Include OS-specific tasks" + ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml" + +- name: "Create config directories" + become: true + ansible.builtin.file: + path: "{{ item }}" + state: "directory" + mode: "0755" + loop: + - "/etc/mpv" + +- name: "Configure system defaults" + become: true + ansible.builtin.copy: + src: "{{ item.src }}" + dest: "{{ item.dest }}" + mode: "0644" + loop: + - src: "mpv.conf" + dest: "/etc/mpv/mpv.conf" + - src: "input.conf" + dest: "/etc/mpv/input.conf" |
