diff options
| author | Luke Hoersten <[email protected]> | 2019-01-01 21:57:11 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2019-01-01 21:57:11 -0600 |
| commit | bef0a0a3a662a83273d459d3c39eac3e1ee7b404 (patch) | |
| tree | e054080243b6b9a374b37932c6244d46bd43a650 /roles/nginx/base/tasks/certbot.yaml | |
| parent | 035f6e2253e1a3f3283ca3e0f7044da8880880e4 (diff) | |
Split out nginx sites.
Diffstat (limited to 'roles/nginx/base/tasks/certbot.yaml')
| -rw-r--r-- | roles/nginx/base/tasks/certbot.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/nginx/base/tasks/certbot.yaml b/roles/nginx/base/tasks/certbot.yaml new file mode 100644 index 0000000..194f5c9 --- /dev/null +++ b/roles/nginx/base/tasks/certbot.yaml @@ -0,0 +1,12 @@ +--- + +# 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 |
