Skip to content

Commit

Permalink
fix: install missing dirmngr for debian installs
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed Dec 18, 2019
1 parent b3feaa2 commit 2b6260d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions playbooks/roles/mariadb/tasks/debian.yml
Expand Up @@ -3,6 +3,12 @@
apt_key: keyserver=hkp://keyserver.ubuntu.com:80 id=0xcbcb082a1bb943db state=present
when: ansible_distribution_major_version is version_compare('8', 'le')

- name: Install dirmngr for apt key for mariadb for Debian > 8
apt:
pkg: dirmngr
state: present
when: ansible_distribution_major_version is version_compare('8', 'gt')

- name: Add apt key for mariadb for Debian > 8
apt_key: keyserver=hkp://keyserver.ubuntu.com:80 id=0xF1656F24C74CD1D8 state=present
when: ansible_distribution_major_version is version_compare('8', 'gt')
Expand Down

0 comments on commit 2b6260d

Please sign in to comment.