mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 15:28:12 +02:00
Optimized tests für run once
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birchenbach"
|
||||
description: "Configures Nginx to perform 301 redirects based on a list of source→target domain mappings."
|
||||
@@ -9,16 +8,13 @@ galaxy_info:
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
galaxy_tags:
|
||||
- nginx
|
||||
- redirect
|
||||
- domains
|
||||
- nginx
|
||||
- redirect
|
||||
- domains
|
||||
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/infinito-nexus/tree/main/roles/web-opt-rdr-domains"
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Any
|
||||
versions: [ all ]
|
||||
dependencies:
|
||||
- srv-web-7-6-https
|
||||
|
||||
- name: Any
|
||||
versions: [all]
|
||||
|
@@ -1,9 +1,14 @@
|
||||
---
|
||||
# run_once_web_opt_rdr_domains: deactivated
|
||||
|
||||
- name: Load former meta dependencies once
|
||||
block:
|
||||
- name: Include moved dependency 'srv-web-7-6-https'
|
||||
include_role:
|
||||
name: srv-web-7-6-https
|
||||
- set_fact:
|
||||
run_once_web_opt_rdr_domains: true
|
||||
when: run_once_web_opt_rdr_domains is not defined
|
||||
- name: "Include domains redirects"
|
||||
include_tasks: redirect-domain.yml
|
||||
vars:
|
||||
domain: "{{ item.source }}"
|
||||
target: "{{ item.target }}"
|
||||
loop: "{{ redirect_domain_mappings }}"
|
||||
loop: "{{ redirect_domain_mappings }}"
|
||||
|
Reference in New Issue
Block a user