added usual certbot command to comments

This commit is contained in:
Adrien Luxey 2020-04-01 09:42:30 +02:00
parent 169747e019
commit 2d7d1462f9
2 changed files with 11 additions and 2 deletions

View file

@ -18,4 +18,14 @@
template:
src: nginx-wordpress.j2
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

View file

@ -1 +0,0 @@
certbot certonly --webroot -w /var/www/letsencrypt -d mts.luxeylab.net