forked from data.coop/ansible
Sam A.
5a63e8e1a8
Co-authored-by: Sam A. <samsapti@noreply@git.data.coop> Co-committed-by: Sam A. <samsapti@noreply@git.data.coop>
20 lines
519 B
YAML
20 lines
519 B
YAML
---
|
|
- name: Import dell apt signing key
|
|
apt_key:
|
|
id: "1285491434D8786F"
|
|
keyserver: "keyserver.ubuntu.com"
|
|
|
|
- name: Configure dell apt repo
|
|
apt_repository:
|
|
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
|