This commit is contained in:
Kekskurse 2023-08-06 22:28:13 +02:00
parent 7377f4632a
commit 128a3af372
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -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