From bef0a0a3a662a83273d459d3c39eac3e1ee7b404 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Tue, 1 Jan 2019 21:57:11 -0600 Subject: Split out nginx sites. --- roles/nginx/tasks/certbot.yaml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 roles/nginx/tasks/certbot.yaml (limited to 'roles/nginx/tasks/certbot.yaml') diff --git a/roles/nginx/tasks/certbot.yaml b/roles/nginx/tasks/certbot.yaml deleted file mode 100644 index b7fbe8d..0000000 --- a/roles/nginx/tasks/certbot.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- - -# https://certbot.eff.org/lets-encrypt/ubuntuxenial-nginx - -- name: add certbot (letsencrypt) repo - become: yes - apt_repository: repo="ppa:certbot/certbot" - -- name: install nginx packages - become: yes - apt: name="python-certbot-nginx" - notify: restart nginx - -- name: install certbot in nginx - become: yes - command: "certbot certonly --nginx -n --agree-tos -d {{nginx_server_name}} -m {{nginx_admin_email}}" - notify: restart nginx -- cgit v1.2.3