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 = {