main.yml 776 B

123456789101112131415161718192021
  1. ---
  2. - name: Ensure deb-src ist disabled in sources.list
  3. replace: dest=/etc/apt/sources.list regexp='^(deb-src .*)$' replace='#\1'
  4. - name: Ensure Debian backports repository is installed
  5. apt_repository: repo='deb http://ftp.de.debian.org/debian {{ ansible_distribution_release }}-backports main'
  6. # - name: Ensure FFDO repository key is installed
  7. # apt_key:
  8. # id: B257AE19
  9. # data: "{{ lookup('file', 'markus.gpg') }}"
  10. # - name: ensure FFDO APT repository is installed
  11. # apt_repository: repo='deb {{ ffdo_repo }} {{ ansible_distribution_release }} main'
  12. - name: Update APT cache
  13. apt: update_cache=yes cache_valid_time=3600
  14. # - name: ensure all packages are up to date
  15. # apt: upgrade=dist install_recommends=no dpkg_options='force-confold,force-confdef'