Skip to content

Commit

Permalink
Update media and pdf playbook
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Siqueira <[email protected]>
  • Loading branch information
rodrigosiqueira committed Aug 16, 2019
1 parent b3fe55d commit 4cc9f51
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
12 changes: 12 additions & 0 deletions roles/media/tasks/arch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- name: Install media packages
package:
name: "{{ packages }}"
state: latest
vars:
packages:
- mpg123
- vlc
- simplescreenrecorder
- pavucontrol # Helps me to control my input/output devices
#- openshot # A very simple and useful video editor
#- youtube-dl
22 changes: 2 additions & 20 deletions roles/media/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
---
- name: Install mpg123 (my favorite music player)
pacman: name=mpg123 state=latest

- name: Install vlc (Video player)
pacman: name=vlc state=latest

- name: Install youtube-dl (Download youtube videos)
pacman: name=youtube-dl state=latest

# A very useful screen recorder
- name: A feature-rich screen recorder that supports X11 and OpenGL
pacman: name=simplescreenrecorder state=latest

# A very simple and useful video editor
- name: An open-source, non-linear video editor for Linux based on MLT framework
pacman: name=openshot state=latest

# Application that helps me to control my input/output devices
- name: PulseAudio Volume Control
pacman: name=pavucontrol state=latest
- include: arch.yml
when: ansible_os_family == 'Archlinux'
9 changes: 9 additions & 0 deletions roles/pdf/tasks/arch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- name: Install pdf files
package:
name: "{{ packages }}"
state: latest
vars:
packages:
- gv
- okular

7 changes: 2 additions & 5 deletions roles/pdf/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
---
- name: Install gv
pacman: name=gv state=latest

- name: Install okular
pacman: name=okular state=latest
- include: arch.yml
when: ansible_os_family == 'Archlinux'

0 comments on commit 4cc9f51

Please sign in to comment.