- name: Configure apt retries copy: mode: 0444 src: 80retry dest: /etc/apt/apt.conf.d/80retry - name: Disable apt translations copy: mode: 0444 src: 90no-translations dest: /etc/apt/apt.conf.d/90no-translations - name: Replace sources.list file copy: src: 'sources.list.{{ ansible_facts.lsb.codename }}.{{ ansible_facts.architecture }}' dest: /etc/apt/sources.list notify: Update apt cache