From 0032a78ef601493ee92a5aecb9545c929f2ad605 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 16 Jul 2016 13:13:43 +0300
Subject: [PATCH] - Added libdvdcss to the desktop playbook.

---
 desktop.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/desktop.yml b/desktop.yml
index 9596e22..b4a4a03 100644
--- a/desktop.yml
+++ b/desktop.yml
@@ -7,12 +7,27 @@
       that:
       - ansible_pkg_mgr == 'apt'
 
+  - name: Add libdvdcss APT repository key
+    apt_key:
+        url: http://download.videolan.org/pub/debian/videolan-apt.asc
+        state: present
+
+  - name: Add libdvdcss APT repository
+    with_items:
+        - deb
+        - deb-src
+    apt_repository:
+        repo: '{{ item }} http://download.videolan.org/pub/debian/stable/ /'
+        state: present
+        update_cache: yes
+
   - name: apt install
     with_items:
     - plymouth
     - network-manager
     - initramfs-tools
     - ufw
+    - libdvdcss2
     apt:
       name: '{{ item }}'
       state: present
-- 
GitLab