openpunk-ansible/roles/nginx/tasks/setup.yml

9 lines
228 B
YAML
Raw Normal View History

2023-01-16 03:54:03 +00:00
---
- name: Setup certbot
shell: "certbot --nginx --non-interactive --agree-tos -m {{ contact_email }} -d {{ domain }} -d git.{{ domain }}"
- name: Reload Nginx
systemd:
name: nginx
enabled: yes
state: restarted