From 5a91ecf8e4469285a51e50617412c3abd5cd6b2e Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 14 Dec 2023 02:35:49 +0100 Subject: [PATCH] =?UTF-8?q?implemented=20hosts=20f=C3=BCr=20www=5Fredirect?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- group_vars/all | 1 - servers.yml | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/group_vars/all b/group_vars/all index 2bf44ee7..a63f2e77 100644 --- a/group_vars/all +++ b/group_vars/all @@ -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 diff --git a/servers.yml b/servers.yml index 2e23f50c..0e2e3ac8 100644 --- a/servers.yml +++ b/servers.yml @@ -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