Add apt preferences file for dell repo #98
|
@ -9,7 +9,15 @@
|
|||
repo: "deb https://linux.dell.com/repo/community/openmanage/10101/focal focal main"
|
||||
state: "present"
|
||||
|
||||
- name: "restrict dell apt repo"
|
||||
copy:
|
||||
dest: "/etc/apt/preferences.d/dell"
|
||||
content: |
|
||||
Explanation: Deny all packages from this repo that exist elsewhere
|
||||
Package: *
|
||||
Pin: origin "linux.dell.com"
|
||||
Pin-Priority: 400
|
||||
|
||||
- name: update apt cache
|
||||
apt:
|
||||
update_cache: yes
|
||||
|
Loading…
Reference in a new issue