Different optimations

This commit is contained in:
Kevin Veen-Birkenbach 2025-04-25 21:57:47 +02:00
parent 39668a428c
commit 7ae3c6cc51
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
7 changed files with 12 additions and 4 deletions

View File

@ -77,3 +77,7 @@ defaults_redirect_domain_mappings:
- { source: "taiga.{{primary_domain}}", target: "{{domains.taiga}}" } - { source: "taiga.{{primary_domain}}", target: "{{domains.taiga}}" }
- { source: "videos.{{primary_domain}}", target: "{{domains.peertube}}" } - { source: "videos.{{primary_domain}}", target: "{{domains.peertube}}" }
- { source: "wordpress.{{primary_domain}}", target: "{{domains.wordpress[0]}}" } - { source: "wordpress.{{primary_domain}}", target: "{{domains.wordpress[0]}}" }
# Domains which are deprecated and should be cleaned up
deprecated_domains: []

View File

@ -51,6 +51,7 @@
when: when:
- users[mailu_user].mailu_token is not defined - users[mailu_user].mailu_token is not defined
- mailu_user_existing_token is not none - mailu_user_existing_token is not none
- mailu_user_existing_token.id is defined
register: mailu_token_delete register: mailu_token_delete
changed_when: mailu_token_delete.rc == 0 changed_when: mailu_token_delete.rc == 0

View File

@ -22,4 +22,6 @@ galaxy_info:
- archlinux - archlinux
repository: https://s.veen.world/cymais repository: https://s.veen.world/cymais
issue_tracker_url: https://s.veen.world/cymaisissues issue_tracker_url: https://s.veen.world/cymaisissues
documentation: https://s.veen.world/cymais documentation: https://s.veen.world/cymais
dependencies:
- nginx

View File

@ -28,7 +28,7 @@
command: >- command: >-
certbot delete --cert-name {{ domain }} --non-interactive certbot delete --cert-name {{ domain }} --non-interactive
when: when:
- mode_cleanup | bool - mode_cleanup | bool
# Cleanup mode is enabled # Cleanup mode is enabled
- enable_wildcard_certificate | bool - enable_wildcard_certificate | bool
# Wildcard certificate is enabled # Wildcard certificate is enabled

View File

@ -1,3 +1,4 @@
dependencies: dependencies:
- nginx - nginx
- nginx-domains-cleanup
- letsencrypt - letsencrypt

View File

@ -3,7 +3,7 @@
pacman: pacman:
name: name:
- nginx - nginx
- nginx-mod-stream # Enable Stream support - nginx-mod-stream
state: present state: present
notify: restart nginx notify: restart nginx
when: run_once_nginx is not defined when: run_once_nginx is not defined

View File

@ -1,4 +1,4 @@
load_module /usr/lib/nginx/modules/ngx_stream_module.so; # Enable Stream support load_module /usr/lib/nginx/modules/ngx_stream_module.so;
worker_processes auto; worker_processes auto;
events events