fix: run handler for webserver, important for first-time setup

This commit is contained in:
mxmehl committed 2026-11-03 16:14:36 +01:00
1 parent a929997bcc
commit f45b3e8655
1 file changed
+4
+4
View File
@@ -13,6 +13,10 @@
ansible.builtin.include_role: ansible.builtin.include_role:
name: geerlingguy.nginx name: geerlingguy.nginx
# Handlers normally run at the end of the play; certbot needs the vhosts live now.
- name: Apply nginx vhost changes before requesting certificates
ansible.builtin.meta: flush_handlers
- name: Include geerlingguy.certbot role (obtain certificates) - name: Include geerlingguy.certbot role (obtain certificates)
ansible.builtin.include_role: ansible.builtin.include_role:
name: geerlingguy.certbot name: geerlingguy.certbot