From 1abd2057ca313f59ec7147619ad6145185a66cd8 Mon Sep 17 00:00:00 2001 From: transcaffeine Date: Sat, 1 Nov 2025 21:32:59 +0100 Subject: [PATCH] feat(playbooks/pretix): allow configuring certificate obtainal method --- playbooks/pretix.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/playbooks/pretix.yml b/playbooks/pretix.yml index eaa3add..eafed6a 100644 --- a/playbooks/pretix.yml +++ b/playbooks/pretix.yml @@ -10,6 +10,19 @@ postgresql_client_password: >-2 {{ pretix_postgresql_password | mandatory(msg='pretix postgresql password is required') }} +- import_playbook: finallycoffee.base.lego_certificate + when: pretix_acquire_lego_certificate | default(false) + vars: + target_hosts: "pretix" + target_domains: + - "{{ pretix_domain }}" + target_acme_zone: "{{ acme_domain }}" + target_acme_account_email: "{{ pretix_lego_acme_account_email }}" + target_dns_server: "{{ dns_server }}" + target_dns_additional_records: "{{ pretix_dns_records }}" + target_dns_tsig_key: "{{ dns_tsig_keydata }}" + target_gather_facts: false + - import_playbook: finallycoffee.databases.valkey when: pretix_configure_valkey | default(true) vars: