home · contact · privacy
Add multimedia config to ansible script.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 15 Apr 2017 16:18:26 +0000 (18:18 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 15 Apr 2017 16:18:26 +0000 (18:18 +0200)
ansible/config.yml
ansible/files/apt-mark/multimedia [new file with mode: 0644]
ansible/files/apt-mark/various_useful

index a546c5388a989f6738d02b7f911ff238facf8b98..9167ee86e1ba4373d2fc1940deab2c1b7bbf7055 100644 (file)
     apt: name={{item}} state=present
     with_lines: cat ~/config/ansible/files/apt-mark/browser_environment | sed -e 's/ *#.*$//'
 
+  # Ensure audio/video consumption necessities.
+  - name: ensure multimedia tools
+    apt: name={{item}} state=present
+    with_lines: cat ~/config/ansible/files/apt-mark/multimedia | sed -e 's/ *#.*$//'
+
   # Remove undesired packages
   - name: collect desired packages
     shell: cat files/apt-mark/*  | sed -e 's/ *#.*$//' > /tmp/white_list_unsorted && sort /tmp/white_list_unsorted > /tmp/white_list_sorted
diff --git a/ansible/files/apt-mark/multimedia b/ansible/files/apt-mark/multimedia
new file mode 100644 (file)
index 0000000..6616bbb
--- /dev/null
@@ -0,0 +1,5 @@
+alsa-utils
+ffmpeg  # somehow this is needed to make youtube-dl grab 1080p versions of videos
+libdvd-pkg  # decss stuff
+mpv
+youtube-dl  # needed by mpv to directly work YouTube URLs
index c1ab0c419ab05642b1e6def5444b97a8cc63c6fd..e37a8985942e2d6667d46b424c08306ef48160df 100644 (file)
@@ -1,4 +1,3 @@
-alsa-utils
 git
 less
 openssh-client