From e07e0cd797ce0284304c538cac1868cd39ab1897 Mon Sep 17 00:00:00 2001 From: Mengyang Li Date: Tue, 17 Jul 2018 13:31:45 -0700 Subject: [PATCH] nginx: use nginx from debian --- ansible/tasks/nginx/main.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/ansible/tasks/nginx/main.yml b/ansible/tasks/nginx/main.yml index 885aa63..e79c7ba 100644 --- a/ansible/tasks/nginx/main.yml +++ b/ansible/tasks/nginx/main.yml @@ -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: