src.nth.io/

summaryrefslogtreecommitdiff
path: root/roles/nginx/tasks/certbot.yaml
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2019-01-01 21:57:11 -0600
committerLuke Hoersten <[email protected]>2019-01-01 21:57:11 -0600
commitbef0a0a3a662a83273d459d3c39eac3e1ee7b404 (patch)
treee054080243b6b9a374b37932c6244d46bd43a650 /roles/nginx/tasks/certbot.yaml
parent035f6e2253e1a3f3283ca3e0f7044da8880880e4 (diff)
Split out nginx sites.
Diffstat (limited to 'roles/nginx/tasks/certbot.yaml')
-rw-r--r--roles/nginx/tasks/certbot.yaml17
1 files changed, 0 insertions, 17 deletions
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