common: use gnupg instead of gpg

gpg package isn't available for all Debian/Ubuntu distribution but
gnupg is.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 622d9feae9)
pull/4021/head
Dimitri Savineau 2019-05-21 09:21:16 -04:00 committed by Dimitri Savineau
parent 5982e17315
commit 1fd81e8d42
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
---
- name: install dependencies for apt modules
package:
name: ['apt-transport-https', 'ca-certificates', 'gpg', 'software-properties-common']
name: ['apt-transport-https', 'ca-certificates', 'gnupg', 'software-properties-common']
update_cache: yes
register: result
until: result is succeeded

View File

@ -6,7 +6,7 @@
- name: allow apt to use a repository over https (debian)
package:
name: ['apt-transport-https', 'ca-certificates', 'gpg', 'software-properties-common']
name: ['apt-transport-https', 'ca-certificates', 'gnupg', 'software-properties-common']
update_cache: yes
register: result
until: result is succeeded