Files
cloud-configuration/ansible/roles/nginx/tasks/letsencrypt.yaml
T

13 lines
308 B
YAML

---
- name: Install python3-certbot-nginx
ansible.builtin.apt:
name: python3-certbot-nginx
update_cache: true
- name: Create directory for acme challenge
ansible.builtin.file:
state: directory
path: /var/www/html/.well-known/acme-challenge
owner: root
group: root
mode: "700"