2022-07-15 15:25:33 +00:00
|
|
|
---
|
2022-11-25 13:07:09 +00:00
|
|
|
- name: Import dell apt signing key
|
2022-11-26 09:47:37 +00:00
|
|
|
ansible.builtin.apt_key:
|
2022-11-26 08:52:41 +00:00
|
|
|
id: 1285491434D8786F
|
|
|
|
keyserver: keyserver.ubuntu.com
|
2022-07-21 07:19:36 +00:00
|
|
|
|
2022-11-25 13:07:09 +00:00
|
|
|
- name: Configure dell apt repo
|
2022-11-26 08:52:41 +00:00
|
|
|
ansible.builtin.apt_repository:
|
|
|
|
repo: deb https://linux.dell.com/repo/community/openmanage/10101/focal focal
|
|
|
|
main
|
2022-11-25 13:07:09 +00:00
|
|
|
state: present
|
2022-07-22 18:39:36 +00:00
|
|
|
|
2022-11-25 13:07:09 +00:00
|
|
|
- name: Restrict dell apt repo"
|
2022-11-26 08:52:41 +00:00
|
|
|
ansible.builtin.copy:
|
|
|
|
dest: /etc/apt/preferences.d/dell
|
|
|
|
content: |-
|
2022-07-22 18:39:36 +00:00
|
|
|
Explanation: Deny all packages from this repo that exist elsewhere
|
|
|
|
Package: *
|
|
|
|
Pin: origin "linux.dell.com"
|
|
|
|
Pin-Priority: 400
|