Merge "baremetal: use docker_yum_gpgkey to fetch docker GPG key"

This commit is contained in:
Zuul 2021-08-09 15:36:49 +00:00 committed by Gerrit Code Review
commit 63be501318
2 changed files with 7 additions and 1 deletions

View File

@ -144,7 +144,7 @@
- name: Install docker rpm gpg key - name: Install docker rpm gpg key
rpm_key: rpm_key:
state: present state: present
key: "{{ docker_yum_url }}/gpg" key: "{{ docker_yum_gpgkey }}"
become: True become: True
when: docker_yum_gpgcheck | bool when: docker_yum_gpgcheck | bool
when: ansible_facts.os_family == 'RedHat' when: ansible_facts.os_family == 'RedHat'

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue seen when customising the Docker Yum repository URL on
CentOS, where the ``docker_yum_gpgkey`` variable is not used consistently.
`LP#1934913 <https://bugs.launchpad.net/kolla-ansible/+bug/1934913>`__