--- # tasks file for ensure_ansible_prereq - name: 'repository changes' ansible.builtin.lineinfile: path: '/etc/apt/sources.list' state: 'absent' regexp: 'deb cdrom:' ...