From 28d95eace2dd3a4ad81adb73ac53a279e42e408a Mon Sep 17 00:00:00 2001 From: Jack Ivanov <17044561+jackivanov@users.noreply.github.com> Date: Tue, 18 Feb 2020 16:20:27 +0100 Subject: [PATCH] Update main.yml (#1727) --- roles/common/tasks/aip/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/common/tasks/aip/main.yml b/roles/common/tasks/aip/main.yml index 6055fd3..e644d9d 100644 --- a/roles/common/tasks/aip/main.yml +++ b/roles/common/tasks/aip/main.yml @@ -1,4 +1,9 @@ --- +- name: Verify the provider + assert: + that: algo_provider in aip_supported_providers + msg: Algo does not support Alternative Ingress IP for {{ algo_provider }} + - name: Include alternative ingress ip configuration include_tasks: file: "{{ algo_provider if algo_provider in aip_supported_providers else 'placeholder' }}.yml"