mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-11-14 20:00:05 +00:00
12 lines
369 B
YAML
12 lines
369 B
YAML
---
|
|
- name: Setup certbot for {{ domain }}
|
|
shell: "certbot --nginx --non-interactive --agree-tos -m {{ contact_email }} -d {{ domain }}"
|
|
|
|
- name: Setup certbot for git.{{ domain }}
|
|
shell: "certbot --nginx --non-interactive --agree-tos -m {{ contact_email }} -d git.{{ domain }}"
|
|
|
|
- name: Reload Nginx
|
|
systemd:
|
|
name: nginx
|
|
enabled: yes
|
|
state: restarted |