stuff
This commit is contained in:
parent
7377f4632a
commit
128a3af372
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
remote_user: root
|
||||
vars:
|
||||
forgejo: 1.20.2-0
|
||||
domain: git2.keks.cloud
|
||||
domain: git.keks.cloud
|
||||
sslmail: admin@keks.cloud
|
||||
handlers:
|
||||
- name: Restart forgejo
|
||||
|
@ -102,7 +102,7 @@
|
|||
register: ssl_file_result
|
||||
|
||||
- name: Return motd to registered var
|
||||
ansible.builtin.command: certbot -n --test-cert --nginx --agree-tos -m {{ sslmail }} -d {{ domain }}
|
||||
ansible.builtin.command: certbot -n --nginx --agree-tos -m {{ sslmail }} -d {{ domain }}
|
||||
when: not ssl_file_result.stat.exists
|
||||
notify:
|
||||
- Restart nginx
|
||||
|
|
Loading…
Reference in a new issue