Skip to content

Commit

Permalink
nginx: use nginx from debian
Browse files Browse the repository at this point in the history
  • Loading branch information
mayli committed Jul 17, 2018
1 parent db07669 commit e07e0cd
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions ansible/tasks/nginx/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
---
- apt_key:
url: https://nginx.org/keys/nginx_signing.key
state: present

- apt_repository:
repo: deb http://nginx.org/packages/debian/ stretch nginx
state: present

- apt_repository:
repo: deb-src http://nginx.org/packages/debian/ stretch nginx
state: present

- name: Update apt repositories
apt:
update_cache: yes

- name: Install nginx from nginx.org
- name: Install nginx
apt:
name={{ item }}
with_items:
Expand Down

0 comments on commit e07e0cd

Please sign in to comment.