ansible-taler-exchange

Ansible playbook to deploy a production Taler Exchange
Log | Files | Refs | Submodules | README | LICENSE

commit 1247322e1f4416d35785357f62fc7dee7fb3652b
parent 865efd7453a457439e4992fa86746e0e6b044a6e
Author: Devan Carpenter <devan@taler.net>
Date:   Sun, 29 Dec 2024 16:34:50 +0000

fix nginx restart handlers

Diffstat:
Aroles/auditor/handlers/main.yml | 4++++
Mroles/auditor/tasks/main.yml | 4++++
Aroles/challenger/handlers/main.yml | 4++++
Mroles/challenger/tasks/main.yml | 3+++
Aroles/exchange/handlers/main.yml | 4++++
Mroles/exchange/tasks/main.yml | 4++++
Aroles/monitoring/handlers/main.yml | 4++++
Mroles/monitoring/tasks/main.yml | 4++++
8 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/roles/auditor/handlers/main.yml b/roles/auditor/handlers/main.yml @@ -0,0 +1,4 @@ +- name: restart nginx + service: + name: nginx + state: restarted diff --git a/roles/auditor/tasks/main.yml b/roles/auditor/tasks/main.yml @@ -54,6 +54,10 @@ state: link notify: restart nginx +# We need to make sure that our handler notifies nginx to restart NOW +- name: Flush handlers + meta: flush_handlers + - name: Secure the auditor site with Letsencrypt ansible.builtin.include_role: name: geerlingguy.certbot diff --git a/roles/challenger/handlers/main.yml b/roles/challenger/handlers/main.yml @@ -0,0 +1,4 @@ +- name: restart nginx + service: + name: nginx + state: restarted diff --git a/roles/challenger/tasks/main.yml b/roles/challenger/tasks/main.yml @@ -292,6 +292,9 @@ state: link notify: restart nginx +# We need to make sure that our handler notifies nginx to restart NOW +- name: Flush handlers + meta: flush_handlers - name: Secure the SMS challenger site with Letsencrypt ansible.builtin.include_role: diff --git a/roles/exchange/handlers/main.yml b/roles/exchange/handlers/main.yml @@ -0,0 +1,4 @@ +- name: restart nginx + service: + name: nginx + state: restarted diff --git a/roles/exchange/tasks/main.yml b/roles/exchange/tasks/main.yml @@ -39,6 +39,10 @@ state: link notify: restart nginx +# We need to make sure that our handler notifies nginx to restart NOW +- name: Flush handlers + meta: flush_handlers + - name: Secure the exchange site with Letsencrypt ansible.builtin.include_role: name: geerlingguy.certbot diff --git a/roles/monitoring/handlers/main.yml b/roles/monitoring/handlers/main.yml @@ -0,0 +1,4 @@ +- name: restart nginx + service: + name: nginx + state: restarted diff --git a/roles/monitoring/tasks/main.yml b/roles/monitoring/tasks/main.yml @@ -48,6 +48,10 @@ state: link notify: restart nginx +# We need to make sure that our handler notifies nginx to restart NOW +- name: Flush handlers + meta: flush_handlers + - name: Secure the monitoring site with Letsencrypt ansible.builtin.include_role: name: geerlingguy.certbot