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
|
remote_user: root
|
||||||
vars:
|
vars:
|
||||||
forgejo: 1.20.2-0
|
forgejo: 1.20.2-0
|
||||||
domain: git2.keks.cloud
|
domain: git.keks.cloud
|
||||||
sslmail: admin@keks.cloud
|
sslmail: admin@keks.cloud
|
||||||
handlers:
|
handlers:
|
||||||
- name: Restart forgejo
|
- name: Restart forgejo
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
register: ssl_file_result
|
register: ssl_file_result
|
||||||
|
|
||||||
- name: Return motd to registered var
|
- 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
|
when: not ssl_file_result.stat.exists
|
||||||
notify:
|
notify:
|
||||||
- Restart nginx
|
- Restart nginx
|
||||||
|
|
Loading…
Reference in a new issue