mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
implemented hosts für www_redirect
This commit is contained in:
parent
58c99fef6e
commit
5a91ecf8e4
@ -35,7 +35,6 @@ path_system_maintenance_service_freezer_script: "{{path_administrator_scripts}}s
|
|||||||
# Runtime Variables
|
# Runtime Variables
|
||||||
activate_all_timers: false # Activates all timers, independend if the handlers had been triggered
|
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_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
|
execute_updates: true # Executes updates
|
||||||
force_backup_before_update: true # Activates the backup before the update procedure
|
force_backup_before_update: true # Activates the backup before the update procedure
|
||||||
|
|
||||||
|
@ -236,10 +236,9 @@
|
|||||||
domain_mappings: "{{redirect_domain_mappings}}"
|
domain_mappings: "{{redirect_domain_mappings}}"
|
||||||
|
|
||||||
- name: setup www redirect
|
- name: setup www redirect
|
||||||
hosts: all
|
hosts: www_redirect
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- role: nginx-www-redirect
|
- role: nginx-www-redirect
|
||||||
when: nginx_www_redirect | bool
|
|
||||||
|
|
||||||
- import_playbook: destructor.yml
|
- import_playbook: destructor.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user