We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 90a1344 + 79a89bd commit 4db1848Copy full SHA for 4db1848
ansible/roles/nginx/tasks/setup-ubuntu.yml
@@ -1,4 +1,12 @@
1
---
2
+- name: Add gnupg dep for nginx repo
3
+ apt:
4
+ name: gnupg
5
+ state: present
6
+ when:
7
+ - nginx_ppa_use is defined and nginx_ppa_use | bool == True
8
+ - ansible_os_family == "Debian" and (ansible_distribution_version == "16.04" or ansible_distribution_version == "18.04" or ansible_distribution_version == "20.04")
9
+
10
- name: Add PPA key for Nginx repository
11
apt_key:
12
keyserver: "hkp://keyserver.ubuntu.com:80"
0 commit comments