From 89909cd6aee9fce2fa711d6d21288cb8d676a495 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sun, 13 Oct 2024 19:05:58 +0200 Subject: [PATCH] Rename mailcow role to mailcowdockerized --- roles/backup/files/hooks/{mailcow => mailcowdockerized} | 0 roles/{mailcow => mailcowdockerized}/tasks/main.yml | 2 +- roles/{mailcow => mailcowdockerized}/vars/main.yml | 6 +++--- services.auto.tfvars | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) rename roles/backup/files/hooks/{mailcow => mailcowdockerized} (100%) rename roles/{mailcow => mailcowdockerized}/tasks/main.yml (87%) rename roles/{mailcow => mailcowdockerized}/vars/main.yml (57%) diff --git a/roles/backup/files/hooks/mailcow b/roles/backup/files/hooks/mailcowdockerized similarity index 100% rename from roles/backup/files/hooks/mailcow rename to roles/backup/files/hooks/mailcowdockerized diff --git a/roles/mailcow/tasks/main.yml b/roles/mailcowdockerized/tasks/main.yml similarity index 87% rename from roles/mailcow/tasks/main.yml rename to roles/mailcowdockerized/tasks/main.yml index 7f8ffde..0be5884 100644 --- a/roles/mailcow/tasks/main.yml +++ b/roles/mailcowdockerized/tasks/main.yml @@ -4,7 +4,7 @@ - name: Deploy {{ svc.name }} vars: - svc: "{{ mailcow_svc }}" + svc: "{{ mailcowdockerized_svc }}" block: - name: Import tasks to template the site for the reverse proxy ansible.builtin.import_tasks: tasks/steps/template-site-config.yml diff --git a/roles/mailcow/vars/main.yml b/roles/mailcowdockerized/vars/main.yml similarity index 57% rename from roles/mailcow/vars/main.yml rename to roles/mailcowdockerized/vars/main.yml index 5cccc3c..f4b6d22 100644 --- a/roles/mailcow/vars/main.yml +++ b/roles/mailcowdockerized/vars/main.yml @@ -1,7 +1,7 @@ --- -mailcow_svc: - name: mailcow +mailcowdockerized_svc: + name: mailcowdockerized domain: mail.serguzim.me docker_host: host.docker.internal port: 3004 - additional_domains: "{{ ['autodiscover', 'autoconfig'] | product(vault_mailcow.domains) | map('join', '.') }}" + additional_domains: "{{ ['autodiscover', 'autoconfig'] | product(vault_mailcowdockerized.domains) | map('join', '.') }}" diff --git a/services.auto.tfvars b/services.auto.tfvars index 6938f8b..d08a005 100644 --- a/services.auto.tfvars +++ b/services.auto.tfvars @@ -240,15 +240,15 @@ services = { s3 = true }, - mailcow = { - name = "mailcow" + mailcowdockerized = { + name = "mailcowdockerized" host = "node003" dns = [{ domain = "serguzim.me" target = "mail" }] backup = [{ - name = "mailcow" + name = "mailcowdockerized" type = "hook" }] monitoring = {