Safer removal of debian CDROM from apt sources.list

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2026-05-02 22:49:52 -05:00
parent 4cd0c95608
commit 734bbf031d
+4 -2
View File
@@ -1,6 +1,8 @@
--- ---
# tasks file for ensure_ansible_prereq # tasks file for ensure_ansible_prereq
- name: 'repository changes' - name: 'repository changes'
ansible.builtin.apt_repository: ansible.builtin.lineinfile:
repo: 'deb cdrom:*' path: '/etc/apt/sources.list'
state: 'absent' state: 'absent'
regexp: 'deb cdrom:'