fix: run handler for webserver, important for first-time setup
This commit is contained in:
1 file changed
+4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user