mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-11-14 11:50:06 +00:00
13 lines
426 B
YAML
13 lines
426 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 }}"
|
|
when: giteaPort is defined and giteaUninstall == false
|
|
|
|
- name: Reload Nginx
|
|
systemd:
|
|
name: nginx
|
|
enabled: yes
|
|
state: restarted |