Safer removal of debian CDROM from apt sources.list
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
@@ -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:'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user