--- - name: Ensure deb-src ist disabled in sources.list replace: dest=/etc/apt/sources.list regexp='^(deb-src .*)$' replace='#\1' - name: Ensure backports repository is installed apt_repository: repo='deb http://ftp.de.debian.org/debian {{ ansible_distribution_release }}-backports main' # - name: Ensure FFDO repository key is installed # apt_key: # id: B257AE19 # data: "{{ lookup('file', 'markus.gpg') }}" # - name: ensure FFDO APT repository is installed # apt_repository: repo='deb {{ ffdo_repo }} {{ ansible_distribution_release }} main' - name: Update APT cache apt: update_cache=yes cache_valid_time=3600