added usual certbot command to comments
This commit is contained in:
parent
169747e019
commit
2d7d1462f9
2 changed files with 11 additions and 2 deletions
|
@ -18,4 +18,14 @@
|
||||||
template:
|
template:
|
||||||
src: nginx-wordpress.j2
|
src: nginx-wordpress.j2
|
||||||
dest: "/etc/nginx/sites-available/{{ item.url }}"
|
dest: "/etc/nginx/sites-available/{{ item.url }}"
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
# - name: Create Let's Encrypt certificate
|
||||||
|
# This seems hard, see:
|
||||||
|
# https://docs.ansible.com/ansible/latest/modules/acme_certificate_module.html#acme-certificate-module
|
||||||
|
# https://www.digitalocean.com/community/tutorials/how-to-acquire-a-let-s-encrypt-certificate-using-ansible-on-ubuntu-18-04
|
||||||
|
# Maybe using shell directly? e.g.
|
||||||
|
# $ certbot certonly --webroot -w /var/www/letsencrypt -d {{ item.url }}
|
||||||
|
|
||||||
|
|
||||||
|
- name: Add user to database
|
|
@ -1 +0,0 @@
|
||||||
certbot certonly --webroot -w /var/www/letsencrypt -d mts.luxeylab.net
|
|
Loading…
Reference in a new issue