home · contact · privacy
Add multimedia tools to X200s ansible setup.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 10 Sep 2017 22:38:53 +0000 (00:38 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 10 Sep 2017 22:38:53 +0000 (00:38 +0200)
ansible/config_new.yml
ansible/files/apt-mark_new/W530/multimedia
ansible/files/apt-mark_new/minimal/multimedia [new file with mode: 0644]

index 02af3153c449663083947e1cac853afe9b7f9b41..1921cbe77871f67197b659969bb3acef9a173cbf 100644 (file)
   #  with_lines: cat ~/config/ansible/files/apt-mark_new/W530/wicd | 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_new/minimal/multimedia | sed -e 's/ *#.*$//'
   #- name: ensure multimedia tools
   #  apt: name={{item}} state=present
-  #  with_lines: cat ~/config/ansible/files/apt-mark/multimedia | sed -e 's/ *#.*$//'
+  #  with_lines: cat ~/config/ansible/files/apt-mark_new/W530/multimedia | sed -e 's/ *#.*$//'
 
   # Ensure hotkeys.
   #
index 0b6d9efde2dbbe809b1acfbad17ef1e222d9a6e1..219097defd1efa746bb3bd0cbf71b5d32de4d022 100644 (file)
@@ -1,6 +1,3 @@
-alsa-utils
 eject
 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
diff --git a/ansible/files/apt-mark_new/minimal/multimedia b/ansible/files/apt-mark_new/minimal/multimedia
new file mode 100644 (file)
index 0000000..0bcc060
--- /dev/null
@@ -0,0 +1,3 @@
+alsa-utils
+mpv
+youtube-dl  # needed by mpv to directly work YouTube URLs