diff --git a/ansible/roles/build/tasks/wordpress.yml b/ansible/roles/build/tasks/wordpress.yml index 61fcc2d..8e81802 100644 --- a/ansible/roles/build/tasks/wordpress.yml +++ b/ansible/roles/build/tasks/wordpress.yml @@ -18,4 +18,14 @@ template: src: nginx-wordpress.j2 dest: "/etc/nginx/sites-available/{{ item.url }}" - become: yes \ No newline at end of file + 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 \ No newline at end of file diff --git a/certbot_command b/certbot_command deleted file mode 100644 index 5d23a51..0000000 --- a/certbot_command +++ /dev/null @@ -1 +0,0 @@ -certbot certonly --webroot -w /var/www/letsencrypt -d mts.luxeylab.net