Skip to content

Commit 4db1848

Browse files
committed
Merge branch 'vjrj-430-rewrite' into master
Signed-off-by: Peter Ansell <p_ansell@yahoo.com>
2 parents 90a1344 + 79a89bd commit 4db1848

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ansible/roles/nginx/tasks/setup-ubuntu.yml

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
---
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+
210
- name: Add PPA key for Nginx repository
311
apt_key:
412
keyserver: "hkp://keyserver.ubuntu.com:80"

0 commit comments

Comments
 (0)