Fix Ubuntu installation issue if dirmngr isn't present.

This commit is contained in:
Jeff Geerling 2020-02-20 16:44:42 -06:00
parent 405bdd4a7a
commit 0d83161e8e
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,11 @@
set_fact:
php_opcache_conf_filename: "10-opcache.ini"
- name: Ensure dirmngr is installed (gnupg dependency).
apt:
name: dirmngr
state: present
- name: Add repository for PHP versions (Ubuntu).
apt_repository: repo='ppa:ondrej/php'
when: ansible_distribution == "Ubuntu"