implemented hosts für www_redirect

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-14 02:35:49 +01:00
parent eebf44d742
commit a27b20f6bf
2 changed files with 1 additions and 3 deletions

View File

@ -35,7 +35,6 @@ path_system_maintenance_service_freezer_script: "{{path_administrator_scripts}}s
# Runtime Variables
activate_all_timers: false # Activates all timers, independend if the handlers had been triggered
nginx_matomo_tracking: false # Activates matomo tracking on all html pages
nginx_www_redirect: true # Implements an redirect from all www. domains to the main domain
execute_updates: true # Executes updates
force_backup_before_update: true # Activates the backup before the update procedure

View File

@ -236,10 +236,9 @@
domain_mappings: "{{redirect_domain_mappings}}"
- name: setup www redirect
hosts: all
hosts: www_redirect
become: true
roles:
- role: nginx-www-redirect
when: nginx_www_redirect | bool
- import_playbook: destructor.yml