Skip to content

Commit

Permalink
Rewrite of #430
Browse files Browse the repository at this point in the history
  • Loading branch information
vjrj authored and djtfmartin committed Mar 23, 2021
1 parent c8fe490 commit 36f7b9c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible/roles/nginx/tasks/setup-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
---
- name: Add gnupg dep for nginx repo
apt:
name: gnupg
state: present
when:
- nginx_ppa_use is defined and nginx_ppa_use | bool == True
- ansible_os_family == "Debian" and (ansible_distribution_version == "16.04" or ansible_distribution_version == "18.04" or ansible_distribution_version == "20.04")

- name: Add PPA key for Nginx repository
apt_key:
keyserver: "hkp://keyserver.ubuntu.com:80"
Expand Down

0 comments on commit 36f7b9c

Please sign in to comment.