Copy RPM keys into correct place
This patch copies the RPM keys into /etc/pki/rpm-gpg/ and maintains their original names. This should allow the LXC cache process to copy over the keys. Change-Id: Icfd7e2b110541f85bf98efc384a9698dbbbd9682
This commit is contained in:
parent
f03265f41c
commit
7a822f2f3c
|
@ -27,10 +27,14 @@
|
|||
- name: Copy validated GPG keys
|
||||
copy:
|
||||
src: "gpg/{{ item | basename }}"
|
||||
dest: /tmp/
|
||||
dest: /etc/pki/rpm-gpg/
|
||||
mode: '0644'
|
||||
with_fileglob:
|
||||
- "gpg/*"
|
||||
|
||||
- name: Ensure GPG keys have the correct SELinux contexts applied
|
||||
command: restorecon -Rv /etc/pki/rpm-gpg/
|
||||
|
||||
# Handle gpg keys manually
|
||||
- name: Install gpg keys
|
||||
rpm_key:
|
||||
|
|
|
@ -81,9 +81,9 @@ openstack_host_required_distro_packages:
|
|||
|
||||
openstack_host_rdo_repos_keys:
|
||||
- repo: openstack-pike
|
||||
keyfile: /tmp/764429E6
|
||||
keyfile: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud
|
||||
- repo: rdo-qemu-ev
|
||||
keyfile: /tmp/61E8806C
|
||||
keyfile: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization-RDO
|
||||
|
||||
openstack_host_rdo_repos:
|
||||
- file: rdo-qemu-ev
|
||||
|
|
Loading…
Reference in New Issue