31 lines
639 B
YAML
31 lines
639 B
YAML
---
|
|
|
|
- name: Queries package manager for multimedia installation
|
|
package:
|
|
name:
|
|
- feh
|
|
- mpv
|
|
- vlc
|
|
- zathura
|
|
- zathura-pdf-poppler
|
|
register: pkg_result
|
|
retries: 3
|
|
until: pkg_result is succeeded
|
|
become: yes
|
|
|
|
- name: Create multimedia folder hierarchy
|
|
file:
|
|
path: '.config/{{ item }}'
|
|
state: directory
|
|
with_items :
|
|
- 'mpv/'
|
|
- 'zathura/'
|
|
|
|
- name: Copy multimedia configuration files
|
|
template:
|
|
src: '{{ item.src }}'
|
|
dest: '.config/{{ item.dest }}'
|
|
with_items:
|
|
- { src: 'zathurarc.j2', dest: 'zathura/zathurarc' }
|
|
- { src: 'mpv.conf.j2', dest: 'mpv/mpv.conf' }
|