ansible-taler-exchange

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

commit 64489179b634c12c2a1128d908df17b675500084
parent a6c74ff75f0e77b5c29b01d0c7ee82a66e38c9f5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 22 Dec 2024 19:25:50 +0100

work on challenger role

Diffstat:
Mroles/challenger/tasks/main.yml | 44++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/roles/challenger/tasks/main.yml b/roles/challenger/tasks/main.yml @@ -202,34 +202,34 @@ - name: Ensure SMS challenger service is enabled and started ansible.builtin.systemd_service: daemon_reload: true - name: sms-challenger + name: sms-challenger-httpd state: started enabled: true - name: Ensure email challenger service is enabled and started ansible.builtin.systemd_service: - name: email-challenger + name: email-challenger-httpd state: started enabled: true - name: Ensure postal challenger service is enabled and started ansible.builtin.systemd_service: - name: postal-challenger + name: postal-challenger-httpd state: started enabled: true -- name: Place SMS challenger Nginx configuration +- name: Place SMS challenger HTTP Nginx configuration ansible.builtin.template: - src: templates/etc/nginx/sites-available/sms-challenger-nginx.conf.j2 - dest: /etc/nginx/sites-available/sms-challenger-nginx.conf + src: templates/etc/nginx/sites-available/sms-challenger-http.conf.j2 + dest: /etc/nginx/sites-available/sms-challenger-http.conf owner: root group: root mode: 0644 -- name: Place SMS challenger HTTP Nginx configuration +- name: Place SMS challenger Nginx configuration ansible.builtin.template: - src: templates/etc/nginx/sites-available/sms-challenger-http.conf.j2 - dest: /etc/nginx/sites-available/sms-challenger-http.conf + src: templates/etc/nginx/sites-available/sms-challenger-nginx.conf.j2 + dest: /etc/nginx/sites-available/sms-challenger-nginx.conf owner: root group: root mode: 0644 @@ -241,18 +241,18 @@ state: link notify: restart nginx -- name: Place email challenger Nginx configuration +- name: Place email challenger HTTP Nginx configuration ansible.builtin.template: - src: templates/etc/nginx/sites-available/email-challenger-nginx.conf.j2 - dest: /etc/nginx/sites-available/email-challenger-nginx.conf + src: templates/etc/nginx/sites-available/email-challenger-http.conf.j2 + dest: /etc/nginx/sites-available/email-challenger-http.conf owner: root group: root mode: 0644 -- name: Place email challenger HTTP Nginx configuration +- name: Place email challenger Nginx configuration ansible.builtin.template: - src: templates/etc/nginx/sites-available/email-challenger-http.conf.j2 - dest: /etc/nginx/sites-available/email-challenger-http.conf + src: templates/etc/nginx/sites-available/email-challenger-nginx.conf.j2 + dest: /etc/nginx/sites-available/email-challenger-nginx.conf owner: root group: root mode: 0644 @@ -264,18 +264,18 @@ state: link notify: restart nginx -- name: Place postal challenger Nginx configuration +- name: Place postal challenger HTTP configuration ansible.builtin.template: - src: templates/etc/nginx/sites-available/postal-challenger-nginx.conf.j2 - dest: /etc/nginx/sites-available/postal-challenger-nginx.conf + src: templates/etc/nginx/sites-available/postal-challenger-http.conf.j2 + dest: /etc/nginx/sites-available/postal-challenger-http.conf owner: root group: root mode: 0644 -- name: Place postal challenger HTTP Nginx configuration +- name: Place postal challenger Nginx configuration ansible.builtin.template: - src: templates/etc/nginx/sites-available/postal-challenger-http.conf.j2 - dest: /etc/nginx/sites-available/postal-challenger-http.conf + src: templates/etc/nginx/sites-available/postal-challenger-nginx.conf.j2 + dest: /etc/nginx/sites-available/postal-challenger-nginx.conf owner: root group: root mode: 0644 @@ -287,6 +287,7 @@ state: link notify: restart nginx + - name: Secure the SMS challenger site with Letsencrypt ansible.builtin.include_role: name: geerlingguy.certbot @@ -310,7 +311,6 @@ domains: - "sms.challenger.{{ DOMAIN_NAME }}" - - name: Secure the EMAIL challenger site with Letsencrypt ansible.builtin.include_role: name: geerlingguy.certbot