From fe24ff2a30d4c342d0c3c2927f4eb2b17e3ad00f Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 2 Nov 2022 08:42:34 +0100 Subject: [PATCH] chore: use dedicated log dir for domain groups --- tasks/install.yml | 2 +- tasks/setup.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index e2d31ad..e249825 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -90,7 +90,7 @@ {{ certbot_bin | default(__certbot_bin) }} --config-dir {{ certbot_config_dir }} --work-dir {{ certbot_work_dir }} - --logs-dir {{ certbot_log_dir }} + --logs-dir {{ certbot_log_dir }}/{{ item.name }} --max-log-backups {{ certbot_max_log_backups }} {{ certbot_command_arguments | join(' ') }} -n -d {{ item.domains | join(',') }} diff --git a/tasks/setup.yml b/tasks/setup.yml index 3375007..0f1c911 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -4,7 +4,7 @@ {{ certbot_bin | default(__certbot_bin) }} --config-dir {{ certbot_config_dir }} --work-dir {{ certbot_work_dir }} - --logs-dir {{ certbot_log_dir }} + --logs-dir {{ certbot_log_dir }}/{{ item.name }} --max-log-backups {{ certbot_max_log_backups }} --agree-tos {{ certbot_command_arguments | join(' ') }}