diff --git a/ansible/roles/pds_deb/tasks/main.yml b/ansible/roles/pds_deb/tasks/main.yml
index dac1d4be819ccc3bfab68b2cdf3f3c7969208ccc..f0d9cc4f2bb0e0790967d91e8dd7edb5b20a22bb 100644
--- a/ansible/roles/pds_deb/tasks/main.yml
+++ b/ansible/roles/pds_deb/tasks/main.yml
@@ -1,3 +1,19 @@
+- name: "Apt sources list"
+  copy:
+    dest: /etc/apt/sources.list
+    content:
+      deb http://ftp.fi.muni.cz/pub/linux/debian/ bullseye main contrib non-free
+      deb-src http://ftp.fi.muni.cz/pub/linux/debian/ bullseye main contrib non-free
+
+      deb http://security.debian.org/ bullseye-security main contrib non-free
+      deb-src http://security.debian.org/ bullseye-security main contrib non-free
+  register: apt_sources
+
+- name: "Update apt cache after source update"
+  apt:
+    update_cache: true
+  when: apt_sources.changed
+
 - name: Create /var/obj
   file:
     state: directory