diff --git a/tasks/Debian-default.yml b/tasks/Debian-default.yml index 2d28f1e..a0f5696 100644 --- a/tasks/Debian-default.yml +++ b/tasks/Debian-default.yml @@ -1,6 +1,8 @@ --- # tasks file for ensure_ansible_prereq - name: 'repository changes' - ansible.builtin.apt_repository: - repo: 'deb cdrom:*' + ansible.builtin.lineinfile: + path: '/etc/apt/sources.list' state: 'absent' + regexp: 'deb cdrom:' +