Skip to content

Commit

Permalink
Copy DSU keys to dell_dup directory
Browse files Browse the repository at this point in the history
Gets around unable to read public file issue
listed here: https://linux.dell.com/repo/hardware/dsu/
  • Loading branch information
Antony Messerli committed Sep 6, 2019
1 parent e206bcf commit df6ba0b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions roles/prep-dell/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
# Dell OpenManage Tooling (RHEL) - http://linux.dell.com/repo/hardware/dsu/
#

- name: Create DSU install path
file:
path: /usr/libexec/dell_dup
state: directory
when: ansible_distribution == "CentOS"

- name: Copy Dell repo keys to directory
get_url:
url: "http://linux.dell.com/repo/pgp_pubkeys/{{ item }}.asc"
dest: "/usr/libexec/dell_dup/{{ item }}.asc"
with_items:
- '0x756ba70b1019ced6'
- '0x1285491434D8786F'
- '0xca77951d23b66a9d'
when: ansible_distribution == "CentOS"

- name: Install Dell System Update repo key
rpm_key:
key: "http://linux.dell.com/repo/pgp_pubkeys/{{ item }}.asc"
Expand Down

0 comments on commit df6ba0b

Please sign in to comment.